Zum Inhalt

ADCreateGroup (Opus Funktion)

Beschreibung

Eröffnet eine AD-Gruppe Creates a new Active Directory group with the specified scope and type.

Argumente

Name

Typ

Beschreibung

LdapPath

string

LDAP path of the container (OU) in which to create the group

GroupName

string

Name der Gruppe, wird als Name den Objektes verwendet

Universal

integer

0 = Global scope, 1 = Universal scope

DistributionGroup

integer

0 = Security Group, 1 = Distribution Group

Rückgabewert void

nichts

Beispiel

ADCreateGroup("OU=Classes,OU=Groups,OU=STF,DC=STF,DC=CH",Ls_GroupName, 1, 0);

Siehe auch