Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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:39 PM
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how can I update user privilege in VB?

Hi,
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 Upd
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.

Thanks for your help.

dixon








Similar Threads
Thread Thread Starter Forum Replies Last Post
which privilege for creating a db and tables? hertendreef SQL Server 2005 5 July 11th, 2007 04:04 PM
How to find privilege to be grant to other users? Edward King Oracle 1 July 20th, 2005 05:10 AM
error when update an user email englishclub_vn BOOK: ASP.NET Website Programming Problem-Design-Solution 2 January 19th, 2005 04:06 PM
active user privilege update problem dbae2000 Visual C++ 0 November 15th, 2004 09:42 PM
Problem regarding setting up Privilege Mimt MySQL 6 August 19th, 2004 04:09 PM





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