ObjectSecurity.GetOwner(Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定されたプライマリ グループに関連付けられている所有者を取得します。
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
所有者を取得する対象のプライマリ グループ。
戻り値
指定されたグループに関連付けられている所有者。
例外
targetType
は null
です。
targetType
が IdentityReference 型ではありません。
ID 参照の一部またはすべてを変換できませんでした。
Win32 エラー コードが返されました。