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

Основная группа, для которой нужно получить владельца.

Возвращаемое значение

Владелец, связанный с указанной группой.

Исключения

targetType равно null.

targetType не является типом IdentityReference .

Некоторые или все ссылки на удостоверения не могут быть переведены.

Возвращается код ошибки Win32.

Применяется к