This topic has not yet been rated - Rate this topic

WindowsIdentity.GetCurrent Method

Returns a WindowsIdentity object that represents the current Windows user.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member GetCurrent() Returns a WindowsIdentity object that represents the current Windows user.
Public method Static member GetCurrent(Boolean) Returns a WindowsIdentity object that represents the Windows identity for either the thread or the process, depending on the value of the ifImpersonating parameter.
Public method Static member GetCurrent(TokenAccessLevels) Returns a WindowsIdentity object that represents the current Windows user, using the specified desired token access level.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.