# Class: RoleMapping

## tibco.objectapi.rs.RoleMapping

#### new RoleMapping()

Model class to store the mappings for a Role.

The mappings refer to a targetId which can be used to get a list of Roles. An additional list of target versions is also maintained, this is used by BPM to lookup targets; it is not required for non-BPM environments. Constructs a new `RoleMapping`.

The following features are supported:

- `Mappings`
- `Versions`

### Members

#### mappings :Object.<string, Array.<string>>

The role mappings. This property holds the value of the 'Mappings' containment reference map.

##### Type:

- Object.<string, Array.<string>>

#### versions :Object.<string, number>

The version numbers. This property holds the value of the 'Versions' attribute map.

##### Type:

- Object.<string, number>