# ecaccess-event-grant - Grant usage of an ECaccess Event

- NAME
- SYNOPSIS
- DESCRIPTION
- ARGUMENTS
- OPTIONS
- EXAMPLES
- SEE ALSO

# NAME

ecaccess-event-grant - Grant usage of an ECaccess Event

# SYNOPSIS

ecaccess-event-grant -version|-help|-manual

ecaccess-event-grant [-debug] [-subscribe] [-notify] event-id user-list

# DESCRIPTION

Allow managing the Event permissions for a list of user(s).

The permissions can be either subscribe, notify, both or none. In order to remove permissions to an Event for a list of users use this command with no -subscribe and -notify options.

# ARGUMENTS

event-id

  The identifier of the Event to grant.

user-list

  The user(s) to give/remove the permissions. Multiple users should be separated by a column (e.g. abc,def).

# OPTIONS

-subscribe

  The user(s) specified in the user-list will be allowed to subscribe to the event-id (e.g. with the -eventIds option of the ecaccess-job-submit command).

-notify

  The user(s) specified in the user-list will be allowed to send notifications to the event-id (e.g. with the ecaccess-event-send command).

-version

  Display version number and exits.

-help

  Print a brief help message and exits.

-manual

  Prints the manual page and exits.

-retry count

  Number of SSL connection retries per 5s to ECMWF. This parameter only apply to the initial SSL connection initiated by the command to the ECMWF server. It does not apply to all the subsequent requests made afteward as it is mainly targeting errors that can happen from time to time during the SSL handshake. Default is no retry.

-debug

  Display the SOAP and SSL messages exchanged.

# EXAMPLES

ecaccess-event-grant -subscribe 167 abc,def,jhi

Allow the users abc, def and jhi to subscribe to this Event.

ecaccess-event-grant 167 jkl

Remove all rights to the Event for the user jkl.

# SEE ALSO

ecaccess-event-clear, ecaccess-event-delete, ecaccess-event-send, ecaccess-event-list, ecaccess-event-create and ecaccess.