/// <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)); }
public bool IsInOrganizationalUnit(IOrganizationalUnit orgUnit) { return(SecurityHandler.IsInGroup(this.Id, orgUnit.Id)); }
public bool IsInContainer(ISecurityContainer container) { return(SecurityHandler.IsInGroup(this.Id, container.Id)); }
// =================================================================================== IUser Members public bool IsInGroup(IGroup group) { return(SecurityHandler.IsInGroup(this.Id, group.Id)); }