Grants authorization to a given role to perform specific actions on the given entity. If the entity is a server, members of the role are granted permission to restart, refresh, or shutdown the server. If the entity is an application, Web application, servlet, or package, members of the role are granted access to those resources, including deploying the entity.
grantroleauth [ connect-args | local-args ] [-role rolename] \ [-action actionname] entity
<jag_grantroleauth [ role=”rolename”] [action=”actionname”] entity=”entity” />
Option |
Description |
Required |
---|---|---|
connect-args | local-args |
Arguments to specify a connection to the server or to run in local mode. See “Local versus connected mode”. |
Yes |
|
The role id or name to which authorization is being granted. The role must exist on the server to which you are connected. |
Yes |
action |
Only valid when the entity type is Server. Valid actions include restart, refresh and shutdown. |
When the entity type is server. |
entity |
The name of the entity, in the form EntityType:EntityName. Valid entities are application, Webapplication, servlet, server, and package. |
Yes |
This example grants access to the “Estore” application to members of the role named “test”.
jagtool grantroleauth -role test Application:Estore
Copyright © 2005. Sybase Inc. All rights reserved. |