Class: com.sybase.djc.security.Role (Role) EAServer 6.3 Help
Description Defines a security role. Security roles are used for role-based access control.

Roles can be assigned to users (see User).

Role hierarchies can be created (see below).

Alternatively, if you wish to integrate with a third-party role or group system, you can use a custom role service or an access control policy

Configuration To define a new role, you can use the "add-role" Ant configuration script, e.g.
  configure add-role -Drole=the-role-name

To add a user to a role, you can use the "add-user" Ant configuration script, e.g.

  configure add-user -Duser=the-user-name -Dto.role=the-role-name

To add a role to another role, you can use the "add-role" Ant configuration script, e.g.

  configure add-role -Drole=sales-manager -Dto.role=general-manager
(which would indicate that the general manager also has the sales manager role).

To delete a role, you can use the "delete-role" Ant configuration script, e.g.

  configure delete-role -Drole=the-role-name
Properties assignedRoles, excludedRoles, excludedUsers, inheritedRoles, roleMembers
Files Repository/Instance/com/sybase/djc/security/Role/*.properties

Property: assignedRoles (Assigned Roles)
Description Names of roles which have been explicitly assigned to this role.

Property: excludedRoles (Excluded Roles)
Description Names of roles which must be excluded from this role.

Property: excludedUsers (Excluded Users)
Description Names of users who must be excluded from this role.

Property: inheritedRoles (Inherited Roles)
Description Names of roles which have been inherited from this role's assigned roles. This list is read only. It is derived from the assigned roles.

Property: roleMembers (Role Members)
Description Names of users who have been assigned this role, or who have inherited it from an assigned role. This list is read only. To add a user to a role, please edit the user's properties