7/03/2011

Axapta Find user group of current userid

Axapta X++  Find user group of current userid

 UserGroupList   userGroupList;
;
    WHILE SELECT userGroupList
    WHERE userGroupList.userId == curuserid()
//    && userGroupList.groupId == 'searchGroup';
    {
        print userGroupList.groupId;
    }
    pause;

No comments:

Post a Comment