Parameters
- roleId
- The ID of the role to retrieve.
- forUpdate
- If true, the Role object will be copied into the dynamic configuration file if roleId originates from a static configuration file.
Return Value
A Role object representing the role requested by ID. If no role with roleId can be found, returns null.