USER GROUP LIST

Level

base

History

level base appears in Netasq 6.1.0
level user deprecated in Netasq 6.1.0
Format appears in Netasq 9.0.0
Named arguments and domainName appear in 3.4.0

Description

List user groups.

Usage

[search=<search pattern>] [domainname=<domain>]

Returns

A list of matching DNs, or an error code.

Remark

List all groupofnames entries in the LDAP database.
Search pattern is used in CN, and \"*\" may be used as a wildcard.

Example

USER GROUP LIST
USER GROUP LIST search="*group*" domainname=ad_ldap
USER GROUP LIST search="*group*"
cn=testgroup1,ou=groups,o=Example,dc=COM cn=group2,ou=groups,o=Example,dc=COM

Format

list