Share via


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인 경우

targetTypeIdentityReference 형식이 아닙니다.

ID 참조의 일부 또는 전부를 변환할 수 없습니다.

Win32 오류 코드가 반환되었습니다.

적용 대상