X509ClientCertificateAuthenticationElement.IncludeWindowsGroups Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether Windows groups are included in the security context.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("includeWindowsGroups", DefaultValue = true)]
public bool IncludeWindowsGroups { get; set; }

Property Value

Type: System.Boolean

true if Windows groups are included in the security context; otherwise, false. The default is true.

Setting this property to true has a performance impact, as it results in a full group expansion. Set this property to false if you do not need to establish the list of groups a user belongs to.

.NET Framework
Available since 3.0
Return to top