SecurityWin32Util Members
Include Protected Members
Include Inherited Members
Helper class that encapsulates the necessary Win32 calls to perform the ImpersonationHelper class functions.
The SecurityWin32Util type exposes the following members.
Constructors
Top
Methods
|
CheckAPIException |
Checks if an error occurred with the last Win32 call and if so, throws an exception by using the message from the message source for that error. |
|
CloseHandle |
The Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute. |
|
CreateProcessAsUser(IntPtr, String, String, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, Boolean, UInt32, IntPtr, String, STARTUPINFO, PROCESS_INFORMATION) |
|
|
CreateProcessAsUser(IntPtr, String, StringBuilder, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, Boolean, UInt32, IntPtr, String, STARTUPINFO, PROCESS_INFORMATION) |
|
|
DuplicateToken |
The Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute. |
|
DuplicateTokenEx |
Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute. |
|
Equals |
(Inherited from Object.) |
|
Finalize |
(Inherited from Object.) |
|
FormatMessage |
Provides a pointer to the message for Win32 errors based on the message source and message ID. |
|
GetHashCode |
(Inherited from Object.) |
|
GetType |
(Inherited from Object.) |
|
LoadUserProfile |
The ProfileInfo structure used in LoadUserProfile and UnloadUserProfile. |
|
LogonUser |
The Win32 LogonUserDllImport method. For more information, see Using the DllImport Attribute. |
|
MemberwiseClone |
(Inherited from Object.) |
|
RegOpenCurrentUser |
The Win32 RevertToSelfDllImport method. For more information, see Using the DllImport Attribute. |
|
RevertToSelf |
The Win32 RevertToSelfDllImport method. For more information, see Using the DllImport Attribute. |
|
ToString |
(Inherited from Object.) |
|
UnloadUserProfile |
The Win32 UnloadUserProfileDllImport method. For more information, see Using the DllImport Attribute. |
Top
See Also
Reference
SecurityWin32Util Class
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace