Create and associate a user
As the person managing access, you create the external user in Business Central and choose which record they act on behalf of.
Scenario
Dæmi ehf. needs user daemi-vefur for a connected website. The goal is to associate the user with the correct record before delivering the password.
Before you start
The connected web application must be configured and its roles confirmed. For Approval Web, the appropriate User Setup entry is needed. For Customer Portal, the customer must already exist.
Walkthrough
- Open NA User List and create a new user.
- Fill in User Name, Fullname and Email on NA User Card.
- Choose View User Roles and add a role.
- Select the role used by the connected application. In the legacy Approval Web setup this is
Approver, associated with table 91; for Customer Portal it isCustomer, associated with table 18. These role records must exist in NA Role List. - Select the record in On behalf of: a User Setup entry for Approval Web, or a customer for Customer Portal.
- Assign a password and test sign-in.
Copy or disable a user
Copy User asks for a new password and creates a user with the same roles and privileges. The new user name has a (Copy …) suffix. The name, email and other settings are not copied; enter these and check particularly which records the new user acts on behalf of.
Select Disabled on the card to reject new sign-ins. Expiration date sets the last day of access; new sign-ins are rejected after that day. When an active web session must end, the user should also sign out.
Result
daemi-vefur appears in the user list. Under View User Roles, you can see the selected role and the correct record in On behalf of.
Next, assign the user a password.
What can go wrong
If the user name is already taken, choose another. If sign-in fails, check the password, disabled flag and expiration date. See Help.