Exemple #1
0
        public MembershipList <Group> GetGroupMemberOfList(Guid memberUId, bool isMemberGroup = false, bool includeDisabledMembership = false)
        {
            SecurityPrincipalBase member = isMemberGroup ? new Group {
                UId = memberUId
            } as SecurityPrincipalBase : new User {
                UId = memberUId
            } as SecurityPrincipalBase;

            return(_dal.GetGroupMemberOfList(member, includeDisabledMembership));
        }
Exemple #2
0
 MembershipList <Group> ISuplexDal.GetGroupMemberOfList(SecurityPrincipalBase member, bool includeDisabledMembership)
 {
     return(_dal.GetGroupMemberOfList(member, includeDisabledMembership));
 }
Exemple #3
0
 public virtual MembershipList <Group> GetGroupMembershipListOf(SecurityPrincipalBase member, bool includeDisabledMembership = false)
 {
     return(Store.GroupMembership.GetMemberOf(member, includeDisabledMembership, Store.Groups, Store.Users));
 }
Exemple #4
0
 public virtual IEnumerable <GroupMembershipItem> GetGroupMembershipHierarchy(SecurityPrincipalBase member, bool includeDisabledMembership = false)
 {
     return(GetGroupMembershipHierarchy(member.UId, includeDisabledMembership));
 }
 public async Task <MembershipList <Group> > GetGroupMemberOfListAsync(SecurityPrincipalBase member, bool includeDisabledMembership = false)
 {
     return(await GetGroupMemberOfListAsync(member.UId, member is Group, includeDisabledMembership));
 }
 public MembershipList <Group> GetGroupMemberOfList(SecurityPrincipalBase member, bool includeDisabledMembership = false)
 {
     return(GetGroupMemberOfListAsync(member.UId, member is Group, includeDisabledMembership).Result);
 }