TomBarrand
Programmer
Hi,
I am using LAPI and Java to call createUser() to create a new Livelink user. The API documentation says that createUser() returns the unqiue user ID that Livelink allocates to the new user.
How do I get the user ID?
The code snippet I am using to call createUser is detailed below. Status always equals zero and not the user ID.
Thanks
Tom
status = users.CreateUser( newUsername, newUserPwd,
LAPI_USERS.PRIV_LOGIN | LAPI_USERS.PRIV_UAPI_SESSION |
LAPI_USERS.PRIV_DAPI_SESSION | LAPI_USERS.PRIV_WAPI_SESSION,
userData, LAPI_USERS.GROUP, group, row, id );
System.out.println("LL UID: "+status);
I am using LAPI and Java to call createUser() to create a new Livelink user. The API documentation says that createUser() returns the unqiue user ID that Livelink allocates to the new user.
How do I get the user ID?
The code snippet I am using to call createUser is detailed below. Status always equals zero and not the user ID.
Thanks
Tom
status = users.CreateUser( newUsername, newUserPwd,
LAPI_USERS.PRIV_LOGIN | LAPI_USERS.PRIV_UAPI_SESSION |
LAPI_USERS.PRIV_DAPI_SESSION | LAPI_USERS.PRIV_WAPI_SESSION,
userData, LAPI_USERS.GROUP, group, row, id );
System.out.println("LL UID: "+status);