LogOffJob Method
- Last UpdatedNov 06, 2025
- 1 minute read
The LogOffJob() method logs the user off the job running in the specified job position on the specified entity. This method optionally logs the user off the entity as well.
public void LogOffJob(
int entId,
int jobPos,
JobStates jobState,
bool logOffEnt,
string statusNotes
)
Parameters
- entId
- Required. Holds the ID of the entity on which the job is running.
- jobPos
- Required. Holds the position on the entity at which the job is running.
- jobState
Required. Holds the state of the job after logging out.
- logOffEnt
- Required. Holds a flag that, if set to true, indicates that the user should be logged off the entity. If set to false, the flag indicates that the user should remain logged on to the entity.
- statusNotes
- Required. Holds a string containing a note indicating why the job has been put into the current state.