Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectSecurity::GetOwner Method (Type^)

 

Gets the owner associated with the specified primary group.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public:
IdentityReference^ GetOwner(
	Type^ targetType
)

Parameters

targetType
Type: System::Type^

The primary group for which to get the owner.

Return Value

Type: System.Security.Principal::IdentityReference^

The owner associated with the specified group.

Exception Condition
ArgumentNullException

targetType is null.

ArgumentException

targetType is not an IdentityReference type.

IdentityNotMappedException

Some or all identity references could not be translated.

SystemException

A Win32 error code was returned.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft