Forum Discussion

pbix's avatar
pbix
Level 3
12 years ago

report on archive properties - permissions

Hi

Does anyone know of a utility or script to report back on permissions assigned to archives - i.e. the information that shows on the permissions tab under achrive properties as in attachment?   Ideally the name of the permissioned user/group, but even if it can report back just a SID that we can separately find out associated user.  I know EVPM can set permissions, but not sure if it can just report back.

 

Sort of related... does anyone know how to programmatically change the name of an archive?  It can be done easily manually through the VAC, but would like a script or something where we could input the archive ID, and the new name of the archive.

 

Our environment is EV9

 

Thanks in hopeful anticipation....

  • For the Archive name it would just be

    USE EnterpriseVaultDirectory
    UPDATE Archive
    SET ArchiveName = 'New Archive Name'
    WHERE RootIdentity = (SELECT RootIdentity FROM Root WHERE VaultEntryId = 'abcdefgh123409590myvault')

    For permissions, I have a script that will display users that have permissions on other archives
    what it won't tell you is though is what kind of permissions the users actually have, it will just tell you that they are included

    So it could be a deny, it could be a grant etc, you'd have to manually check int he vac

4 Replies

  • For the Archive name it would just be

    USE EnterpriseVaultDirectory
    UPDATE Archive
    SET ArchiveName = 'New Archive Name'
    WHERE RootIdentity = (SELECT RootIdentity FROM Root WHERE VaultEntryId = 'abcdefgh123409590myvault')

    For permissions, I have a script that will display users that have permissions on other archives
    what it won't tell you is though is what kind of permissions the users actually have, it will just tell you that they are included

    So it could be a deny, it could be a grant etc, you'd have to manually check int he vac

  • Oh and theres always PermissionsBrowser.exe too, but thats one archive and folder at a time, wont report en-mass

  • Your script sounds like a great start point... can you post it here?  Thanks in advance...

    PermissionBrowser sounds too manual for what I'm wanting, and not sure it would much advantage over updating from VAC

     

    Will give the archive name update a try!