here is an easier way to determine if the current user is an Admin user
public void init()
{
#Admin
boolean isAdmin;
;
super();
isAdmin = UserInfoHelp::userInUserGroup(curUserId(),#AdminUserGroup);
}
Wednesday, March 21, 2012
Admin Group Restriction
Labels:
Admin,
AdminUserGroup,
curUser,
isAdmin,
Microsoft Dynamics AX,
UserInfoHelp
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment