Programming Guides › Programming Guide for C › Common Data Types and Structure › Exported Enumerations › Sm_PolicyResolution_t
Sm_PolicyResolution_t
Sm_PolicyResolution_t, defined in SmApi.h, enumerates values that describe how one policy object, such as a user, is related to another policy object, such as a group.
The following APIs use the enumeration Sm_PolicyResolution_t:
- Policy Management API
- Directory API
The following table lists the supported policy resolutions. A brief description of each resolution follows the table.
Policy Resolution
|
Value
|
Sm_PolicyResolution_Unknown
|
0
|
Sm_PolicyResolution_User
|
1
|
Sm_PolicyResolution_UserGroup
|
2
|
Sm_PolicyResolution_UserProp
|
3
|
Sm_PolicyResolution_UserRole
|
4
|
Sm_PolicyResolution_Org
|
5
|
Sm_PolicyResolution_Query
|
6
|
Sm_PolicyResolution_All
|
7
|
Sm_PolicyResolution_GroupProp
|
8
|
Sm_PolicyResolution_OrgProp
|
9
|
Sm_PolicyResolution_DnProp
|
10
|
Note: Another policy resolution, Sm_PolicyResolution_Max, is for internal use only.
- Sm_PolicyResolution_Unknown. The policy object is unknown.
- Sm_PolicyResolution_User. The policy object is the specified user object.
- Sm_PolicyResolution_UserGroup. The policy object is a member (directly, or indirectly through another group) of the specified user group object.
- Sm_PolicyResolution_UserProp. The policy object matches the specified filter (user scope).
- Sm_PolicyResolution_UserRole. The policy object is the occupant of the specified role.
- Sm_PolicyResolution_Org. The policy object is a member (directly or indirectly through another organization) of the specified organization object (this supports organizations and organization units).
- Sm_PolicyResolution_Query. The policy object is contained in the result set of a directory-specific query.
- Sm_PolicyResolution_All. The policy object is located in the specified directory.
- Sm_PolicyResolution_GroupProp. The policy object is policy-related to a "group"-like DN matching the specified filter.
- Sm_PolicyResolution_OrgProp. The policy object is policy-related to a "org"-like DN matching the specified filter.
- Sm_PolicyResolution_DnProp. The policy object is policy-related to any DN matching the specified filter.
More Information:
SmDirValidateUserPolicyRelationship()
Copyright © 2014 CA.
All rights reserved.
|
|