Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
EdmiError edmiRemoteRenameUser (SdaiServerContext       serverContextId,
                                SdaiString              userName,
                                SdaiString              newUserName,
                                SdaiInvocationId       *edmiInvocationId);


...

Info

This function is restricted to EDMuser "superuser"

Info

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

...

1TypeNameComment
2SdaiServerContextserverContextIdServer context
3SdaiStringuserNamecurrent name
4SdaiStringnewUserNamenew name
5SdaiInvocationIdedmiInvocationId 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.

...