Identity.ImpersonateUser

Impersonate User true will cause the current thread to impersonate this userIdentity.

Syntax Parameters Return Value
Sub Identity.ImpersonateUser( _
    bUser As Boolean)
bUser [in]

Type: Boolean

This function does not return a value.