Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.9.11. jaas:roleadd, roleadd
Abstract
						adds a role to a user
					
Synopsis Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
jaas:roleadd  [
					--help
				] {
					username
				} {
					role
				}
Details Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
				When editing a JAAS realm, the changes are buffered until the editing session is closed. When you add a new role using the jaas:roleadd command, the change is stored in the buffer and does not take effect until the editing session is closed.
			
				The jaas:update command saves the changes and closes the editing session.
			
				The jaas:cancel command clears the buffer without saving the changes and closes the editing session.
			
Arguments Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
				Table 9.11, “jaas:roleadd Arguments” describes the command's arguments.
			
| Argument | Interpretation | 
|---|---|
 --help  | Displays the online help for this command. | 
| username | Specifies the name of the user to modify. | 
| role | Specifies the role which is appended to the user data. |