ImpersonationHelper.UnloadUserProfile Method
Unloads the user's profile and reverts to self. For information, see RevertToSelf.
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
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Sub UnloadUserProfile
'Usage
Dim instance As ImpersonationHelper
instance.UnloadUserProfile()
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public void UnloadUserProfile()
Remarks
If an exception is thrown, check the inner exception for details on the exact cause of failure.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace