Creating User Accounts in SAP Commerce Cloud

Objective

After completing this lesson, you will be able to create new user accounts in the SAP Commerce Cloud Backoffice, specifying required user details and assigning initial access permissions.

Introduction

​Account management is a basic need of most websites, and SAP Commerce Cloud is no exception. Using the Administration Cockpit, the Backoffice Manager can manage both internal and external users. Internal users, accessed using the Employees page in Backoffice, are the individuals who use Backoffice. External users, accessed using the Customers page in Backoffice, are the website users.

Creating a New User Account

​Every database item in SAP Commerce Cloud defines one or more mandatory properties, the minimum amount of data needed to locate that item. For user accounts, a single property serves that role: the UID. It is identified in Backoffice as the user’s ID. ​In practice, however, a user needs more than a UID to log in. They will need:

  • a user type so the system knows how to deal with them
  • a password to access the system
  • membership in one or more user groups to determine their access permissions

​The user type is selected implicitly when the Backoffice Manager decides whether to create an Employee, a Customer, or a B2B Customer. ​In practice, Customers are not usually created in Backoffice; instead, Customer items are created when site visitors register on the website.

​Some properties, like name, are important for Customers, as this is information required for payment and shipping activities, but not so much for Employees. It’s still good practice to provide one, if only so there’s a convivial heading on the profile menu in Backoffice.

​The user creation wizard used to create Employees collects the following information:

  • ID – mandatory field
  • Name – optional, but nice to have
  • Description – optional
  • Locale information – optional
  • Group membership – in practice, this is a required field, even though it’s not mandatory
Create a new employee account in the Create New Employee wizard popup screen, highlighting the ID text box and the Membership section, where users can be assigned to groups.

When the wizard completes, it will be necessary for you to edit the newly created user and fill in fields you believe are important. The following, while not mandatory, are essential:

  • Password
  • Disable Login – this property is set to true by default. You will need to manually change its value to false before that user can log in.

Notice the absence of an email field, which is not included out of the box for internal users in SAP Commerce Cloud.

On the edit page, you can set a password for the new account by entering a new password and confirming its value.On the edit page, you will have to switch the Disable Login setting to False via the radio buttons shown here. Otherwise, the recently created user will not be allowed to login.

Assigning User Groups

​While SAP Commerce Cloud allows access permissions to be set for individual users, in practice this is never done. Instead, access permissions defined for groups are inherited by all users who are members of a given group. There is no limit to the number of groups a user may belong to. ​By default, Employees are members of the EmployeeGroup, and Customers belong to the CustomerGroup. Most Employees will likely need to be assigned to at least one other group to set their access permissions, for example which cockpits and perspectives they can access in Backoffice.

​Let’s watch a Backoffice user create a new user and assign appropriate permissions. ​

Summary

  • When creating internal users, the Backoffice manager must provide a unique ID and password, then set the Disable Login field to False to allow this user to log in.

  • The Backoffice Administrator may create, edit, or delete any type of user: Customers, Employees, and B2B Employees. In practice, Customers are created when a user registers on the website, while Employees are manually created by the Backoffice Administrator.

  • Assigning a new employee to one or more user group determines what features of Backoffice they will have access to.