IdentityReference.Translate Method (Type)

 

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: