WindowsServiceElement.IncludeWindowsGroups Property

 

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 false.

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
Show: