ObjectSecurity.SetOwner(IdentityReference) 方法

定義

設定與此 ObjectSecurity 物件相關聯的安全描述符擁有者。

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

老闆要去set。

適用於