SoftadminApi.User_UpdatePersonalNumber

 Show all Hide all

Updates the personal number of the specified user.
The stored personal numbers can e.g. be used from the BankID component.

Type: Stored procedure
Area of use: API

Return value: int

Returns zero on success and a non-zero result on error.

Parameters:

@UserId mandatory int
The id of the user.
@PersonalNumber mandatory varchar(max)
Should contain exactly 12 digits and no other characters.
Can be NULL.
@ErrorMessageOut mandatory varchar(max)
This output variable will only be set if an error occurred.