UserNameServiceElement.IncludeWindowsGroups 屬性

定義

取得或設定值,這個值會指出 Windows 群組是否包含在安全性內容中。

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

屬性值

如果 Windows 群組包含在安全性內容中,則為 true,否則為 false。 預設為 false

屬性

備註

將這個屬性設定為 true 會有效能方面的影響,因為它會造成完整的群組擴充。 如果您不需要建立使用者所屬之群組的清單,請將此屬性設定為 false

適用於