Rediger

Del via


ObjectSecurity.SetGroup(IdentityReference) Method

Definition

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)

Parameters

identity
IdentityReference

The primary group to set.

Applies to