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

Definition

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 Function GetOwner (targetType As Type) As IdentityReference
Parameters
targetType
Type Type Type

The primary group for which to get the owner.

Returns

The owner associated with the specified group.

Exceptions

Some or all identity references could not be translated.

A Win32 error code was returned.

Applies to