ImpersonationHelper.LoadUserProfile Method
Loads the user's profile.
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 LoadUserProfile
'Usage
Dim instance As ImpersonationHelper
instance.LoadUserProfile()
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public void LoadUserProfile()
Remarks
An exception is thrown if the Win32 LoadUserProfile call encounters an error or returns false.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace