Share via


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

  • lpProfileInfo
    Type: PROFILEINFO

Return Value

Type: System.Boolean

See Also

Reference

SecurityWin32Util Class

SecurityWin32Util Members

Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace