示例#1
0
 /// <summary>
 /// Returns true if this group is a member of a group identified by the given groupId.
 /// This method is transitive, meaning it will look for relations in the whole group graph, not
 /// only direct memberships.
 /// </summary>
 /// <param name="securityGroupId">Id of the container group.</param>
 public bool IsInGroup(int securityGroupId)
 {
     return(SecurityHandler.IsInGroup(this.Id, securityGroupId));
 }
示例#2
0
 public bool IsInOrganizationalUnit(IOrganizationalUnit orgUnit)
 {
     return(SecurityHandler.IsInGroup(this.Id, orgUnit.Id));
 }
示例#3
0
 public bool IsInContainer(ISecurityContainer container)
 {
     return(SecurityHandler.IsInGroup(this.Id, container.Id));
 }
示例#4
0
        // =================================================================================== IUser Members

        public bool IsInGroup(IGroup group)
        {
            return(SecurityHandler.IsInGroup(this.Id, group.Id));
        }