VMS Help  —  RMU72  Show  Privilege  Examples
    Example 1

    In the following example, the RMU Show Privilege command displays
    the root file ACL for the mf_personnel database:

    $ RMU/SHOW PRIVILEGE MF_PERSONNEL.RDB
    Object type: file,  Object name: SQL_USER:[USER1]MF_PERSONNEL.RDB;1,
     on 12-FEB-1996 10:48:23.04

     (IDENTIFIER=[SQL,USER1],ACCESS=READ+WRITE+CONTROL+RMU$ALTER+
     RMU$ANALYZE+RMU$BACKUP+RMU$CONVERT+RMU$COPY+RMU$DUMP+RMU$LOAD+
     RMU$MOVE+RMU$OPEN+RMU$RESTORE+RMU$SECURITY+RMU$SHOW+RMU$UNLOAD+
     RMU$VERIFY)
     (IDENTIFIER=[SQL,USER2],ACCESS=READ+WRITE+RMU$ALTER+RMU$ANALYZE+
     RMU$BACKUP+RMU$CONVERT+RMU$COPY+RMU$DUMP+RMU$LOAD+RMU$MOVE+RMU$OPEN+
     RMU$RESTORE+RMU$SHOW+RMU$UNLOAD+RMU$VERIFY)
     (IDENTIFIER=[SQL,USER3],ACCESS=READ+WRITE+CONTROL+RMU$SECURITY)

    Example 2

    The following examples demonstrate the difference in output when
    you use the Header and Noheader qualifiers:

    $ RMU/SHOW PRIV MF_PERSONNEL.RDB/HEADER
    Object type: file,  Object name: RDBVMS_USER:[DB]MF_PERSONNEL.RDB;1,
     on 17-SEP-1998 13:47:20.21
              (IDENTIFIER=[RDB,STONE],ACCESS=RMU$ALL)

    $ RMU/SHOW PRIVILEGE MF_PERSONNEL.RDB/NOHEADER
              (IDENTIFIER=[RDB,STONE],ACCESS=RMU$ALL)

    Example 3

    The following examples demonstrate the difference in output when
    you use the Expand and Noexpand qualifiers:

    $ RMU/SET PRIVILEGE MF_PERSONNEL.RDB /ACL=(I=STONE,A=RMU$ALL)

    $ RMU/SHOW PRIVILEGE MF_PERSONNEL.RDB /NOEXPAND/NOHEADER
    (IDENTIFIER=[RDB,STONE],ACCESS=READ+WRITE+CONTROL+RMU$ALL)

    $ RMU/SHOW PRIVILEGE MF_PERSONNEL.RDB /EXPAND/NOHEADER
    (IDENTIFIER=[RDB,STONE],ACCESS=READ+WRITE+CONTROL+RMU$ALTER+
          RMU$ANALYZE+RMU$BACKUP+RMU$CONVERT+RMU$COPY+RMU$DUMP+RMU$LOAD+
          RMU$MOVE+RMU$OPEN+RMU$RESTORE+RMU$SECURITY+RMU$SHOW+RMU$UNLOAD+
          RMU$VERIFY)
Close Help