C# Класс 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.

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

TranslateDownLevelToUpn() публичный статический Метод

Convert from a down-level NT4 style name to an Active Directory User Principal Name (UPN).
public static TranslateDownLevelToUpn ( string downLevelNt4Name ) : string
downLevelNt4Name string
Результат string

TranslateUpnToDownLevel() публичный статический Метод

Convert from an Active Directory User Principal Name (UPN) to a down-level NT4 style name.
public static TranslateUpnToDownLevel ( string userPrincipalName ) : string
userPrincipalName string
Результат string