Force a refresh of privileges

Tags:
Group 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?
ASKED: April 29, 2008  7:15 PM
UPDATED: May 1, 2008  1:33 AM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following