ZAP API UI

Component: forcedUser

Views

getForcedUser (contextId* ) Gets the user (ID) set as 'forced user' for the given context (ID)
isForcedUserModeEnabledReturns 'true' if 'forced user' mode is enabled, 'false' otherwise

Actions

setForcedUser (contextId* userId* ) Sets the user (ID) that should be used in 'forced user' mode for the given context (ID)
setForcedUserModeEnabled (boolean* ) Sets if 'forced user' mode should be enabled or not