Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

SECURITY_IMPERSONATION_LEVEL (Enums)
 
.
Summary
The SECURITY_IMPERSONATION_LEVEL enumeration type contains values that specify security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.

C# Definition:

public enum SECURITY_IMPERSONATION_LEVEL {
    SecurityAnonymous,
    SecurityIdentification,
    SecurityImpersonation,
    SecurityDelegation
}

VB Definition:

Enum SECURITY_IMPERSONATION_LEVEL
    SecurityAnonymous
    SecurityIdentification
    SecurityImpersonation
    SecurityDelegation
End Enum

Notes:

None.

Documentation

VB.NET definition with enumeration for the C++ constants:

Public Enum SecurityImpersonationLevel

    SecurityAnonymous = 0    
    SecurityIdentification = 1    
    SecurityImpersonation = 2    
    SecurityDelegation = 3

End Enum

Notes:

Following friendlier VB naming/capitalization standards is this example, however the naming convention is meaningless and personal choice, so long as the correct value gets used where it's needed.

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions