ADS_GROUP_TYPE_ENUM

The ADS_GROUP_TYPE_ENUM enumeration specifies types of group objects in Active Directory. For a list of Entra group types, see AzureADGroupType.

Syntax

enum ADS_GROUP_TYPE_ENUM
{
    ADS_GROUP_TYPE_GLOBAL_GROUP                = 2,           //0x2
    ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP          = 4,           //0x4
    ADS_GROUP_TYPE_LOCAL_GROUP                 = 4,           //0x4
    ADS_GROUP_TYPE_UNIVERSAL_GROUP             = 8,           //0x8
    ADS_GROUP_TYPE_SECURITY_ENABLED            = 2147483648   //0x80000000
}

Constants

  • Flag

  • Description

  • ADS_GROUP_TYPE_GLOBAL_GROUP

  • Specifies a group that can contain accounts from the same domain and other global groups from the same domain.

  • ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP

  • Specifies a group that can contain accounts from any domain, other domain local groups from the same domain, global groups from any domain, and universal groups.

  • ADS_GROUP_TYPE_LOCAL_GROUP

  • Specifies a group that is identical to the ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP group.

  • ADS_GROUP_TYPE_UNIVERSAL_GROUP

  • Specifies a group that can contain accounts from any domain, global groups from any domain, and other universal groups.

  • ADS_GROUP_TYPE_SECURITY_ENABLED

  • Specifies a group that is security enabled.

Requirements

Minimum required version: 2009.1

See also