Show / Hide Table of Contents

Class SecurityGroupMembershipRequirement

Security group membership requirement.

Inheritance
System.Object
SecurityGroupMembershipRequirement
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class SecurityGroupMembershipRequirement : IAuthorizationRequirement

Constructors

View Source

SecurityGroupMembershipRequirement(Boolean, Guid[])

Initializes a new instance of the SecurityGroupMembershipRequirement class.

Declaration
public SecurityGroupMembershipRequirement(bool matchAllGroups, params Guid[] securityGroupDisplayNames)
Parameters
Type Name Description
System.Boolean 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
System.Boolean
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>
  • View Source
In This Article
Back to top Generated by DocFX