Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCurrent Method

WindowsIdentity.GetCurrent Method

Returns a WindowsIdentity object that represents the current Windows user.

Name Description
WindowsIdentity.GetCurrent () Returns a WindowsIdentity object that represents the current Windows user.
WindowsIdentity.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.
WindowsIdentity.GetCurrent (TokenAccessLevels) Returns a WindowsIdentity object that represents the current Windows user, using the specified desired token access level.

Community Additions

ADD
Show:
© 2015 Microsoft