Programming Guides › Programming Guide for C › Policy Management API › Policy Management API Overview › Directory Search Order Functions
Directory Search Order Functions
The following functions help you retrieve and set the search order of user directories:
- Sm_PolicyApi_GetUserDirSearchOrder() retrieves the object identifiers (OIDs) of user directory objects associated with the specified domain.
- Sm_PolicyApi_SetUserDirSearchOrder() sets the search order of the user directories in a domain. The ordered list of OIDs is specified in the pszArray string array. The user directories in this array must match in OID and number (but not order) the list of user directory OIDs that were retrieved by a call to Sm_PolicyApi_GetUserDirSearchOrder().