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)); }
MembershipList <Group> ISuplexDal.GetGroupMemberOfList(SecurityPrincipalBase member, bool includeDisabledMembership) { return(_dal.GetGroupMemberOfList(member, includeDisabledMembership)); }
public virtual MembershipList <Group> GetGroupMembershipListOf(SecurityPrincipalBase member, bool includeDisabledMembership = false) { return(Store.GroupMembership.GetMemberOf(member, includeDisabledMembership, Store.Groups, Store.Users)); }
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); }