WindowsServiceElement.IncludeWindowsGroups 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示 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
屬性值
true 若包含Windows群組則為安全情境;否則為 false。 預設值為 false。
- 屬性
備註
將此屬性設為 會 true 影響效能,因為會導致整個群組展開。 如果你不需要建立使用者所屬群組的清單,請將此屬性設為false