Bewerken

Share via


IdentityReference.Translate(Type) Method

Definition

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

public:
 abstract System::Security::Principal::IdentityReference ^ Translate(Type ^ targetType);
public abstract System.Security.Principal.IdentityReference Translate (Type targetType);
abstract member Translate : Type -> System.Security.Principal.IdentityReference
Public MustOverride Function Translate (targetType As Type) As IdentityReference

Parameters

targetType
Type

The target type for the conversion from IdentityReference.

Returns

The converted identity.

Applies to