wwAPI::ImpersonateUser

Allows you to switch user context to a different user in your application by specifying username and password.

You can call RevertToSelf() to revert back to the original user account.

o.ImpersonateUser(lcUsername,lcPassword)

Parameters

lcUsername
The username of the user to impersonate

lcPassword
The password of the user to impersonate


See also:

Class wwAPI | wwAPI::RevertToSelf

© West Wind Technologies, 1996-2018 • Updated: 09/06/10
Comment or report problem with topic