I am implementing the VB
application to grant user privilege (add or remove read/write) from the server for the security purpose.
To do this, I use active directory OCX.
One problem is after adding/remove a privilege, it can't be updated.
Although I use GPUdate function, Group Policy Update.
The client system should log off and log in to affect the changes.
However it gives my clients inconvienience.
My question is,
1. How can I update the privilege adding or removing right a way?
2. Is there any function call doing same as log out and log in without displaying log in dialog box?
Because if I have log out and log in, then it works always.
But I don't like to do this manually.
The API for this would be appreciated.
Thanks for your help.