ADCreateUserAccount (Opus Funktion)
Beschreibung¶
Eröffnet einen AD-Benutzeraccount, mit angegebenem Benutzernamen und Passwort. Creates a new Active Directory user account and returns its distinguished name.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
LdapPath | LDAP path of the container (OU) in which to create the account | |
UserName | display name of the user | |
AccountName | SAM account name (login name) for the new user | |
Password | initial password for the account |
Rückgabewert string¶
GUID des erstellten Objektes the distinguished name of the newly created user account
Beispiel¶
|
|---|
Dieses Beispiel befüllt die AD-Attribute wie folgt:
- cn: Testkonto Fullname Plus
- distinguishedName: CN=Testkonto Fullname Plus,OU=Students,OU=Users,OU=STF,DC=STF,DC=CH
- Name: Testkonto Fullname Plus
- sAMAccountName: testkontofull