Using the Process Analyst > Process Analyst for Developers > Automation Model > IProcessAnalyst.WritePrivilegeLevel [Property][Get]

IProcessAnalyst.WritePrivilegeLevel [Property][Get]

Returns the privilege level necessary to save Process Analyst views to the Primary and Secondary paths.

Defined As

Execution Result

If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.


The privilege cannot be set via automation. It needs to be set in the property pages at design time (for example, in Graphics Builder).

See Also

IProcessAnalyst.SaveToFile [Method], IProcessAnalyst.PrimaryPath [Property][Get/Set], IProcessAnalyst.SecondaryPath [Property][Get/Set]

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".


Sub Example()
Dim privilege As Integer
`Retrieve the privilege
privilege = myPage_AN35.WritePrivilegeLevel
End Sub


FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
INTEGER privilege;
// Retrieve the privilege
privilege = _ObjectGetProperty(hProcessAnalyst, "WritePrivilegeLevel");