Force a refresh of privileges

Tags:
Permissions
User Permissions
Windows Security
We have developed a utility that creates a specific group, defines access rights for this group and adds users to that group. It also denies all users access to these folders. This tool is run as admin in Vista. However, users cannot access before a logoff and a logon. Is there a way to force the refresh of the effective privileges by calling an API?We have developed a utility that creates a specific group, defines access rights for this group and adds users to that group. It also denies all users access to these folders. This tool is run as admin in Vista. However, users cannot access before a logoff and a logon. Is there a way to force the refresh of the effective privileges by calling an API?

Answer Wiki

Thanks. We'll let you know when a new response is added.

The user receives his/her security token at logon. The security token contains information regarding the user’s group membership and other rights.

If you add or remove a user to/from a particular group, then that user needs to receive a new token in order take advantage of the group membership. This process only occurs at logon. It cannot happen “on the fly.”

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: