.Net Framework > v2.0.50727 > System > Security > Principal > WindowsIdentity > GetCurrent GetCurrent()
GetCurrent(Boolean)
GetCurrent(TokenAccessLevels)


GetCurrent()

Category
Method
Description
Returns a System.Security.Principal.WindowsIdentity object that represents the current Windows user.
Type
WindowsIdentity
Character
public, static
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCurrent(Boolean)

Category
Method
Description
Returns a System.Security.Principal.WindowsIdentity object that represents the Windows identity for either the thread or the process, depending on the value of the ifImpersonating parameter.
Type
WindowsIdentity
Character
public, static
Parameters
NameTypeDescription
ifImpersonatingBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCurrent(TokenAccessLevels)

Category
Method
Description
Returns a System.Security.Principal.WindowsIdentity object that represents the current Windows user, using the specified desired token access level.
Type
WindowsIdentity
Character
public, static
Parameters
NameTypeDescription
desiredAccessTokenAccessLevels
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database