ObjectSecurity.GetOwner(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public System.Security.Principal.IdentityReference GetOwner (Type targetType);
member this.GetOwner : Type -> System.Security.Principal.IdentityReference
Public Function GetOwner (targetType As Type) As IdentityReference
Parameters
- targetType
- Type
The primary group for which to get the owner.
Returns
The owner associated with the specified group.
Exceptions
targetType
is null
.
targetType
is not an IdentityReference type.
Some or all identity references could not be translated.
A Win32 error code was returned.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา