ObjectSecurity.SetOwner(IdentityReference) 方法

定义

设置与此 ObjectSecurity 对象关联的安全描述符的所有者。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)

参数

identity
IdentityReference

要设置的所有者。The owner to set.

适用于