SecurityWin32Util.UnloadUserProfile Method
The Win32 UnloadUserProfileDllImport method. For more information, see Using the DllImport Attribute.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Shared Function UnloadUserProfile ( _
hToken As IntPtr, _
ByRef lpProfileInfo As PROFILEINFO _
) As Boolean
'Usage
Dim hToken As IntPtr
Dim lpProfileInfo As PROFILEINFO
Dim returnValue As Boolean
returnValue = SecurityWin32Util.UnloadUserProfile(hToken, _
lpProfileInfo)
public static bool UnloadUserProfile(
IntPtr hToken,
ref PROFILEINFO lpProfileInfo
)
Parameters
- hToken
Type: System.IntPtr
- lpProfileInfo
Type: PROFILEINFO
Return Value
Type: System.Boolean
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace