Setup for Users, Resources, and Roles Examples
The examples in the following sections involve creating users, resources, and roles as well as assigning users to roles. The appendix to this tutorial contains instructions for performing each of these tasks:
For instructions on creating new users, see Creating a User.
For instructions on creating a new resource, see Creating a Resource
For instructions on creating a new role, see Creating a Role.
For instructions on adding a user to a role, see Adding a User to a Role.
In addition, the following examples require that you have created the class SecurityTutorial.AuthorizationExample in the USER namespace. This class is stored in Authorization.xml. See Code for Authorization Example.