Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove Deleted User's Access

I'm using DMS and I've deleted some of the users, but the document authorization was not removed. Is there a way to clean this up other than going to each document and remove it?

5 Replies
prieper
Master II
Master II

no,

you may use in future a central script to administer all apps and users

Peter

Not applicable
Author

What kind of script that we can use in the future? Can elaborate more?

Thanks...

prieper
Master II
Master II

We are using a crosstable (in Excel) with the users on the left side, the application-name on the right and an identifyer, whether the user is allowed to access

Then with a script like

LET sFile = CHR(39) & UPPER(DocumentName) & CHR(39);      // current filename in Apostrophs

SECTION ACCESS;

UsersAll: CROSSTABLE (FileName, AccessAllowed) LOAD * FROM ....;   // Load entire data

Users: LOAD 'USER' AS ACCESS, UserName WHERE AccessAllowed = 'Y' AND MATCH(FileName, $(sFile));    // Select only users being allowed the access for this particular app.

SECTION APPLICATION;

Typically we have stored the above in a textscript and insert in each application only the line

// ==========================================================Access-Part

  $(Include=\\......\qv-security$\QV Access Script.txt);

// ===========================================================Script-Part

edit: we usually use NT-names, which makes the identification even easier.

HTH Peter

Not applicable
Author

Thanks for the information. But some of our apps have their own section access as well. Not sure if this will complicate thing further.

Bill_Britt
Former Employee
Former Employee

Hi,

It is best to try to use groups to manage users. That way you don't have to edit the scripts when users change.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.