Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 15th, 2004, 09:42 PM
Registered User
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default active user privilege update problem

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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update active X component in ASP Andraw Classic ASP Basics 5 April 26th, 2006 03:51 AM
how can I update user privilege in VB? dbae2000 VB How-To 0 November 15th, 2004 09:39 PM
Problem regarding setting up Privilege Mimt MySQL 6 August 19th, 2004 04:09 PM
active directory user Authentication problem sara_1981 General .NET 0 April 24th, 2004 01:58 AM
Too many active user andrekl Access 5 December 12th, 2003 12:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.