UserNameServiceElement::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)

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

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: