[Info-vax] Need help in REVOKE
Joseph Huber
joseph.huber at NOREPLY.web.de
Tue Feb 12 10:00:18 EST 2013
adityagtm4 at gmail.com wrote:
> Suppose there are 20 Identifier are there for user...we can revoke it
> like:
>
> MCR AUTHORIZE REVOKE/ID identifier user
>
> but how can I revoke all the identifier in a single command. I have tried
> like this also, but no luck:
>
> MCR AUTHORIZE REVOKE/ID * user
>
> any help will be appreciated.
>
If this is not a one-time action, but has to be done often/for many users,
then I see only this possibility:
Do AUTHORIZE LIST user/identifiers
Write a DCL procedure to read the resulting RIGHTSLIST.LIS file.
Parse each line to get the identifier, then
REVOKE the identifier from the user given.
(REMOVE/IDENT as proposed would be quite contra-productive !)
--
Joseph Huber - http://www.huber-joseph.de
More information about the Info-vax
mailing list