The sample instantiates UserHandle_t when SmDirInitUserInstance() is called. This handle is then passed to the directory entry (user) operations functions. For a list of these functions, see Operations on a Directory Entry (User).
The same value need not be carried through the entire process. You are permitted to change the value.
The definition of UserHandle_t is as follows:
typedef struct UserHandle_s { char nTag; bool bValid; char szErrMsg[ERRMSG_SIZE]; DirHandle_t* phDir; char* pszUserDn; } UserHandle_t;
The sample releases UserHandle_t when SmDirReleaseInstance() is called.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |