IdentityReference.Translate Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Translates the account name represented by the IdentityReference object into another IdentityReference-derived type.

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

public abstract IdentityReference Translate(
	Type targetType
)

Parameters

targetType
Type: System.Type

The target type for the conversion from IdentityReference.

Return Value

Type: System.Security.Principal.IdentityReference

The converted identity.

.NET Framework
Available since 2.0
Return to top
Show: