Exemplo n.º 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));
        }