Image may be NSFW.
Clik here to view.
I am writing a web application that uses .NET Windows Authentication and relies on a user’s group membership to Authorize them to various areas of the website. Right now I’m on a dev machine that IS NOT part of a domain and is not using AD, instead I’m just using local user groups. In general this is working fine as is.
However, as I test the application I need to add and remove roles in my user account to verify things are working. When I add a role it doesn’t seem to propagate until I log out of Windows and login again.
Is it possible to force an update to Group membership without having to log off?
Image may be NSFW.
Clik here to view.
This isn’t possible. When you log on, you receive a token reflecting your group membership, among other things. The only way to refresh this token is to log in.
Check more discussion of this question.