ObjectSecurity.GetOwner(Type) ObjectSecurity.GetOwner(Type) ObjectSecurity.GetOwner(Type) ObjectSecurity.GetOwner(Type) Method

定義

取得與指定的主要群組關聯的擁有者。Gets the owner associated with the specified primary group.

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 Type Type Type

要為其取得擁有者的主要群組。The primary group for which to get the owner.

傳回

與指定的群組關聯的擁有者。The owner associated with the specified group.

例外狀況

無法轉譯某些或所有識別參考。Some or all identity references could not be translated.

傳回 Win32 錯誤碼。A Win32 error code was returned.

適用於