Share via


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

  Name Description
Public method SecurityWin32Util Initializes a new instance of the SecurityWin32Util class.

Top

Methods

  Name Description
Public methodStatic member 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.
Public methodStatic member CloseHandle The Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute.
Public methodStatic member CreateProcessAsUser(IntPtr, String, String, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, Boolean, UInt32, IntPtr, String, STARTUPINFO, PROCESS_INFORMATION)
Public methodStatic member CreateProcessAsUser(IntPtr, String, StringBuilder, SECURITY_ATTRIBUTES, SECURITY_ATTRIBUTES, Boolean, UInt32, IntPtr, String, STARTUPINFO, PROCESS_INFORMATION)
Public methodStatic member DuplicateToken The Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute.
Public methodStatic member DuplicateTokenEx Win32 CloseHandleDllImport method. For more information, see StreamingContext Structure and Using the DllImport Attribute.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FormatMessage Provides a pointer to the message for Win32 errors based on the message source and message ID.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member LoadUserProfile The ProfileInfo structure used in LoadUserProfile and UnloadUserProfile.
Public methodStatic member LogonUser The Win32 LogonUserDllImport method. For more information, see Using the DllImport Attribute.
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member RegOpenCurrentUser The Win32 RevertToSelfDllImport method. For more information, see Using the DllImport Attribute.
Public methodStatic member RevertToSelf The Win32 RevertToSelfDllImport method. For more information, see Using the DllImport Attribute.
Public method ToString (Inherited from Object.)
Public methodStatic member 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