2.2.1.9 ACCOUNT_TYPE Values

msdn link

Account type values are associated with accounts and indicate the type of account. These values are not to be combined through logical operations.

Constant/value

Description

SAM_DOMAIN_OBJECT

0x00000000

Represents a domain object.

SAM_GROUP_OBJECT

0x10000000

Represents a group object.

SAM_NON_SECURITY_GROUP_OBJECT

0x10000001

Represents a group object that is not used for authorization context generation.

SAM_ALIAS_OBJECT

0x20000000

Represents an alias object.

SAM_NON_SECURITY_ALIAS_OBJECT

0x20000001

Represents an alias object that is not used for authorization context generation.

SAM_USER_OBJECT

0x30000000

Represents a user object.

SAM_MACHINE_ACCOUNT

0x30000001

Represents a computer object.

SAM_TRUST_ACCOUNT

0x30000002

Represents a user object that is used for domain trusts.

SAM_APP_BASIC_GROUP

0x40000000

Represents an application-defined group.

SAM_APP_QUERY_GROUP

0x40000001

Represents an application-defined group whose members are determined by the results of a query.