Skip to content

ADS_GROUP_TYPE_ENUM

The ADS_GROUP_TYPE_ENUM enumeration specifies types of group objects.

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. This type of group can be exported to a different 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. This type of group should not be included in access-control lists of resources in other domains.

  • 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. This type of group cannot contain domain local groups.

  • ADS_GROUP_TYPE_SECURITY_ENABLED

  • Specifies a group that is security enabled. This group can be used to apply an access-control list on an ADSI object or a file system.

Requirements

Minimum required version: 2009.1

See also