UserNameServiceElement.IncludeWindowsGroups 属性
定义
获取或设置一个值,该值指示 Windows 组是否包含在安全上下文中。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=Mono.Cecil.CustomAttributeArgument)]
public bool IncludeWindowsGroups { get; set; }
[<System.Configuration.ConfigurationProperty("includeWindowsGroups", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.IncludeWindowsGroups : bool with get, set
Public Property IncludeWindowsGroups As Boolean
属性值
如果 Windows 组包含在安全上下文中,则为 true;否则为 false。true if Windows groups are included in the security context; otherwise, false. 默认值为 false。The default is false.
- 属性
注解
将此属性设置为 true 会影响性能,因为这会导致完全组扩展。Setting this property to true has a performance impact as it results in a full group expansion. 如果不需要建立用户所属组的列表,请将此属性设置为 false。Set this property to false if you do not need to establish the list of groups a user belongs to.