In file ../../include/war170api.h:

WARAPI_RESULT Warapi_CreateUser(WAR_OUT WARAPI_SESSION_HANDLE SessionHandle, const WAR_OUT WARAPI_CCSTR_T Parent, const WAR_OUT WARAPI_CCSTR_T Name, WAR_IN WARAPI_USER_HANDLE *UserHandle, WAR_IN int *ErrorValue)

Create a user in the user database

Documentation

Create a user in the user database.

Creates a user in the user tree. After the user is created, you will normally set individual properties for the user.

Returns:
WARAPI_CALL_OK if the function succeeded.
Parameters:
SessionHandle - Previously initialized session handle
Parent - Path to the parent node, like "/system/user"
Name - Name of the new user
UserHandle - Pointer to a variable where an initialized user handle will be returned if the function succeeds. This handle must be released with
Warapi_ReleaseUserHandle.
ErrorValue - A error value to indicate why the operation failed. This value will be WARAPI_ERR_OK if the function succeeded.
See Also:
Warapi_ReleaseUserHandle Warapi_OpenSession

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.