Previous Topic: Sm_PolicyApi_GetUserGroups()

Next Topic: Sm_PolicyApi_GetUsersFromWSFEDResourcePartner()

Sm_PolicyApi_GetUserPasswordState()

Returns Sm_Api_UserPasswordState_t. The memory for the Sm_Api_UserPasswordState_t object should be allocated by the calling function.

Type

Password state function.

Syntax

int SM_EXTERN Sm_PolicyApi_GetUserPasswordState (
   void       *pSessionHandle,
   const char *pszUserDirOid,
   const char *pszUserDN,
   Sm_PolicyApi_UserPasswordState_t *pPasswordState
);

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.

pszUserDirOid

I

Unique object identifier that corresponds to a particular User Directory.

pszUserDN

I

Specifies the DN of the user within the user directory.

pPasswordState

O

The user password state object.

Returns


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