ObjectSecurity.SetOwner(IdentityReference) Method

Definition

Sets the owner for the security descriptor associated with this ObjectSecurity object.

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

Parameters

identity
IdentityReference

The owner to set.

Applies to