Show allHide all
Type: Stored procedure

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

Return value: int

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


@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.