ObjectSecurity.GetOwner(Type) メソッド

定義

指定されたプライマリ グループに関連付けられている所有者を取得します。

public:
 System::Security::Principal::IdentityReference ^ GetOwner(Type ^ targetType);
public System.Security.Principal.IdentityReference GetOwner (Type targetType);
public System.Security.Principal.IdentityReference? GetOwner (Type targetType);
member this.GetOwner : Type -> System.Security.Principal.IdentityReference
Public Function GetOwner (targetType As Type) As IdentityReference

パラメーター

targetType
Type

所有者を取得する対象のプライマリ グループ。

戻り値

指定されたグループに関連付けられている所有者。

例外

targetTypenullです。

targetTypeIdentityReference 型ではありません。

ID 参照の一部またはすべてを変換できませんでした。

Win32 エラー コードが返されました。

適用対象