edmiChangePassword
EdmiError edmiChangePassword(SdaiInstance userId, SdaiString password);
Changes the password of the EDMuser with the given user Id. Only the superuser may change the password of a user other than himself. Passwords are mandatory. If not specified explicitly when creating the user, the password will be set equal to the user name. Passwords are case sensitive" Related functions:
Arguments
Type | Name | Comment |
SdaiInstance | userId | The instance id that uniquely identifies the EDMuser in the database. Only the superuser may specify a user id other than his own. |
SdaiString | password | The new password of the user with the given user id. Passwords are case sensitive. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Example
EdmiError rstat; SdaiUser userId; . . . rstat = edmiGetMyUserId(&userId); if (rstat = edmiChangePassword(userId, "QWERTY")) { /* Error in operation */ printf("\nError: %s in edmiChangePassword \n", edmiGetErrorText(rstat)); goto error; } . . .
See also
Filter by label
There are no items with the selected labels at this time.