IdentityReference.Translate(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.