Show / Hide Table of Contents

Class SecurityGroupMembershipRequirement

Security group membership requirement.

Inheritance
object
SecurityGroupMembershipRequirement
Implements
IAuthorizationRequirement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class SecurityGroupMembershipRequirement : IAuthorizationRequirement

Constructors

View Source

SecurityGroupMembershipRequirement(bool, params Guid[])

Initializes a new instance of the SecurityGroupMembershipRequirement class.

Declaration
public SecurityGroupMembershipRequirement(bool matchAllGroups, params Guid[] securityGroupDisplayNames)
Parameters
Type Name Description
bool matchAllGroups

True to require the user be a member of all groups provided. False if the user only needs to be a member of a single group.

Guid[] securityGroupDisplayNames

The display names of the security groups in which to check membership.

Properties

View Source

MatchAllGroups

Gets a value indicating whether a user needs to be a member of all groups or just one.

Declaration
public bool MatchAllGroups { get; }
Property Value
Type Description
bool
View Source

SecurityGroupIds

Gets the names of the security group in which to check membership.

Declaration
public IEnumerable<Guid> SecurityGroupIds { get; }
Property Value
Type Description
IEnumerable<Guid>

Implements

IAuthorizationRequirement
  • View Source
In this article
Back to top Generated by DocFX