C# Class CubicOrange.Windows.Forms.ActiveDirectory.NameTranslator

Active Directory name translation.

Translates names between Active Directory formats, e.g. from down-level NT4 style names ("ACME\alice") to User Principal Name ("[email protected]").

This utility class encapsulates the ActiveDs.dll COM library.

Exibir arquivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
TranslateDownLevelToUpn ( string downLevelNt4Name ) : string

Convert from a down-level NT4 style name to an Active Directory User Principal Name (UPN).

TranslateUpnToDownLevel ( string userPrincipalName ) : string

Convert from an Active Directory User Principal Name (UPN) to a down-level NT4 style name.

Method Details

TranslateDownLevelToUpn() public static method

Convert from a down-level NT4 style name to an Active Directory User Principal Name (UPN).
public static TranslateDownLevelToUpn ( string downLevelNt4Name ) : string
downLevelNt4Name string
return string

TranslateUpnToDownLevel() public static method

Convert from an Active Directory User Principal Name (UPN) to a down-level NT4 style name.
public static TranslateUpnToDownLevel ( string userPrincipalName ) : string
userPrincipalName string
return string