Επεξεργασία

Κοινή χρήση μέσω


UserNameServiceElement.IncludeWindowsGroups Property

Definition

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

public:
 property bool IncludeWindowsGroups { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("includeWindowsGroups", DefaultValue=true)]
public bool IncludeWindowsGroups { get; set; }
[<System.Configuration.ConfigurationProperty("includeWindowsGroups", DefaultValue=true)>]
member this.IncludeWindowsGroups : bool with get, set
Public Property IncludeWindowsGroups As Boolean

Property Value

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

Attributes

Remarks

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.

Applies to