#include <qwtjuid.h> int QwtClearJuid(void);
TheQwtClearJuid() function clears any job user identity that was previously set by the QwtSetJuid() function or by the Set Job User Identity (QWTSJUID) API. This function may only be called when the job is running single threaded. The job user identity then defaults to the user profile that the job is currently running under.
None
If the job user identity is currently set, then either *USE authority to the user profile associated with the job user identity or all object (*ALLOBJ) special authority is required. If the job user identity is not already set, then no authorization is required.
You must have appropriate privileges or be the owner of the object or other resource to do the requested operation.
Function not allowed while running multithreaded.
The QwtClearJuid() function may be called in a job that allows multiple threads, but only while it is running single threaded. It explicitly denies access if any secondary threads are active.
Top | Security APIs | APIs by category |