Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Advanced
Oct 15, 2001

Effective Use of the LogonUser


How do you use the LogonUser API in VB?

1. Call RevertToSelf (this is the critical step as it allows the code to run under the System account)

2. Call LogonUser

3. Call ImpersonateUser

This can be very effective for many applications where code needs to run under a different context.
Jamie Vachon
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date