.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "ECACCESS-EVENT-GRANT 1p"
.TH ECACCESS-EVENT-GRANT 1p "2021-01-05" "perl v5.32.0" "User Contributed Perl Documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
ecaccess\-event\-grant \- Grant usage of an ECaccess Event
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBecaccess-event-grant \-version|\-help|\-manual\fR
.PP
\&\fBecaccess-event-grant [\-debug] [\-subscribe] [\-notify]\fR \fIevent-id\fR \fIuser-list\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
Allow managing the Event permissions for a list of user(s).
.PP
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 \fB\-subscribe\fR and \fB\-notify\fR options.
.SH "ARGUMENTS"
.IX Header "ARGUMENTS"
.IP "\fIevent-id\fR" 8
.IX Item "event-id"
The identifier of the Event to grant.
.IP "\fIuser-list\fR" 8
.IX Item "user-list"
The user(s) to give/remove the permissions. Multiple users should be separated by a column (e.g. abc,def).
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-subscribe\fR" 8
.IX Item "-subscribe"
The user(s) specified in the \fIuser-list\fR will be allowed to subscribe to the \fIevent-id\fR
(e.g. with the \fB\-eventIds\fR option of the \fBecaccess-job-submit\fR command).
.IP "\fB\-notify\fR" 8
.IX Item "-notify"
The user(s) specified in the \fIuser-list\fR will be allowed to send notifications to the \fIevent-id\fR
(e.g. with the \fBecaccess-event-send\fR command).
.IP "\fB\-version\fR" 8
.IX Item "-version"
Display version number and exits.
.IP "\fB\-help\fR" 8
.IX Item "-help"
Print a brief help message and exits.
.IP "\fB\-manual\fR" 8
.IX Item "-manual"
Prints the manual page and exits.
.IP "\fB\-retry\fR \fIcount\fR" 8
.IX Item "-retry count"
Number of \s-1SSL\s0 connection retries per 5s to \s-1ECMWF.\s0 This parameter only apply to the
initial \s-1SSL\s0 connection initiated by the command to the \s-1ECMWF\s0 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 \s-1SSL\s0 handshake. Default is no retry.
.IP "\fB\-debug\fR" 8
.IX Item "-debug"
Display the \s-1SOAP\s0 and \s-1SSL\s0 messages exchanged.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
\&\fBecaccess-event-grant \-subscribe\fR \fI167\fR \fIabc,def,jhi\fR
.PP
Allow the users \fIabc\fR, \fIdef\fR and \fIjhi\fR to subscribe to this Event.
.PP
\&\fBecaccess-event-grant\fR \fI167\fR \fIjkl\fR
.PP
Remove all rights to the Event for the user \fIjkl\fR.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fBecaccess-event-clear\fR, \fBecaccess-event-delete\fR, \fBecaccess-event-send\fR, \fBecaccess-event-list\fR,
\&\fBecaccess-event-create\fR and \fBecaccess\fR.