Skip to main content

Create group

Create a security or distribution group.

Command in the Active Directory toolkit · id ooa.active_directory/create_group · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Container (distinguished name)StringNoDistinguished name of the organizational unit or container to create it in; the session's base (Connect) when empty.
NameStringYesGroup name (also its sAMAccountName unless given).
ScopeStringNoglobalGroup scope: global (the Windows default) for people of this domain, domain_local for permissions in this domain, universal across the forest.
Group typeStringNosecuritySecurity groups can be used in permissions; distribution groups only for mail.
Group descriptionStringNoDescription.
Pre-Windows 2000 name (sAMAccountName)StringNoPre-Windows 2000 name; the group name when empty.
SessionStringNoadSession name.

Outputs​

OutputTypeWhat it is
dnStringDistinguished name of the new group.