Previous Topic: Sm_PolicyApi_SetSharedSecretPolicy()

Next Topic: Sm_PolicyApi_SetUserPasswordState()

Sm_PolicyApi_SetUserDirSearchOrder()

Rearranges the search order of the user directory objects associated with the domain identified by pszDomainOid.

The ordered list of names 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 names that were retrieved by a call to Sm_PolicyApi_GetUserDirSearchOrder().

Type

User directory function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_SetUserDirSearchOrder (
   void*          pSessionHandle,
   const char*    pszDomainOid,
   char**         pszArray[]
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

pszDomainOid

I

A null-terminated string containing the object identifier of an existing domain.

pszArray

I

An array of user directory OIDs, in the desired order.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic