ObjectSecurity.GetOwner(Type) Método

Definição

Obtém o proprietário associado ao grupo primário especificado.

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

Parâmetros

targetType
Type

O grupo primário para o qual obter o proprietário.

Retornos

IdentityReference

O proprietário associado ao grupo especificado.

Exceções

targetType é null.

targetType não é um tipo de IdentityReference.

Não foi possível converter algumas ou todas as referências de identidade.

Foi retornado um código de erro do Win32.

Aplica-se a