Platform SDK: Active Directory, ADSI, and Directory Services |
The following table contains a list of common errors that can occur based on the scope of the group being nested.
HRESULT | Meaning |
---|---|
0x8007001F | General failure. This error occurs if you attempt to add 1) a Domain Local group to a Global or Universal group, 2) a Universal group to a Global group, or 3) a Domain Local
Domain Local groups can only be added as members to other Domain Local groups in the same domain. Universal groups can be added to Universal and Domain Local groups but not Global groups. |
0x8007202F | ERROR_DS_CONSTRAINT_VIOLATION. This error occurs if you attempt to nest a security group (that is, add a group as a member of another group) in another group in a domain running in mixed mode. Security groups cannot be nested in mixed mode; security groups can only be nested in native mode. |