Wednesday, March 21, 2012

Admin Group Restriction

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);

}

No comments:

Post a Comment