コード例 #1
0
 /// <summary>
 /// Reader returns fields:
 ///		GroupId, GroupName
 /// </summary>
 public static IDataReader GetListAvailableGroups()
 {
     if (!Security.IsUserInGroup(InternalSecureGroups.Partner))
     {
         return(DBGroup.GetListAvailableGroups());
     }
     else
     {
         return(DBGroup.GetListAvailableGroupsForPartner(Security.CurrentUser.UserID));
     }
 }