ObjectSecurity.SetGroup(IdentityReference) ObjectSecurity.SetGroup(IdentityReference) ObjectSecurity.SetGroup(IdentityReference) ObjectSecurity.SetGroup(IdentityReference) Method

定義

設定與 ObjectSecurity 物件相關聯的安全性描述元主要群組。Sets the primary group for the security descriptor associated with this ObjectSecurity object.

public:
 void SetGroup(System::Security::Principal::IdentityReference ^ identity);
public void SetGroup (System.Security.Principal.IdentityReference identity);
member this.SetGroup : System.Security.Principal.IdentityReference -> unit
Public Sub SetGroup (identity As IdentityReference)

參數

identity
IdentityReference IdentityReference IdentityReference IdentityReference

要設定的主要群組。The primary group to set.

適用於