Esempio n. 1
0
 /// <summary>
 /// Reader returns fields:
 ///		GroupId, GroupName, HasChildren
 /// </summary>
 public static IDataReader GetListGroupsBySubstring(string SubString)
 {
     if (!Security.IsUserInGroup(InternalSecureGroups.Partner))
     {
         return(DBGroup.GetListGroupsBySubstring(SubString));
     }
     else
     {
         return(DBGroup.GetListGroupsBySubstringForPartner(SubString, Security.CurrentUser.UserID));
     }
 }