Пример #1
0
 public void GetUserGroupsByUserId()
 {
     var usrm      = new UserGroupManager(constring);
     var allgroups = usrm.GetGroups(1);
 }
Пример #2
0
 public void GetUserGroups()
 {
     IUser usr       = new User();
     var   usrm      = new UserGroupManager(constring);
     var   allgroups = usrm.GetGroups(usr);
 }