Zum Inhalt

GetValidADUserName (Opus Funktion)

Beschreibung

Generates a unique Active Directory user name from the first and last name of the given address. Appends a numeric suffix if the plain name is already taken.

Argumente

Name

Typ

Beschreibung

AddressID

integer

ID of the address record to generate the user name for

MaxLength

integer

maximum number of characters the generated user name may have

Rückgabewert string

a unique Active Directory user name derived from the person's name

Beispiel

xxx

Siehe auch