edmiRemoteRenameUser
EdmiError edmiRemoteRenameUser (SdaiServerContext serverContextId, SdaiString userName, SdaiString newUserName, SdaiInvocationId *edmiInvocationId);
Changes the name of an existing remote EDMuser
This function is restricted to EDMuser "superuser"
The function also change the password of the actual user to the same string as the new user name, all characters in lowercase. When the new user name is longer than 24 characters, the new password is truncated to the 24 characters of the new user name. Hence the actual (renamed) users should be advised to change their password the first time logging-on after a Rename User operation.
Arguments
1 | Type | Name | Comment |
2 | SdaiServerContext | serverContextId | Server context |
3 | SdaiString | userName | current name |
4 | SdaiString | newUserName | new name |
5 | SdaiInvocationId | edmiInvocationId | Not yet used. When the edmiInvocationId is specified unequal NULL, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument. This handle can be used in later operations for requesting the status (waiting, running, finished ..) and the result of the actual operation. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Example
See also
Filter by label
There are no items with the selected labels at this time.