Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 663 Bytes

ApiGen_forcedUser.md

File metadata and controls

13 lines (10 loc) · 663 Bytes

ZAP 2.7.0 API

Component: forcedUser

Name Type Parameters Description
isForcedUserModeEnabled view Returns 'true' if 'forced user' mode is enabled, 'false' otherwise
getForcedUser view contextId* Gets the user (ID) set as 'forced user' for the given context (ID)
setForcedUser action contextId* userId* Sets the user (ID) that should be used in 'forced user' mode for the given context (ID)
setForcedUserModeEnabled action boolean* Sets if 'forced user' mode should be enabled or not

Starred parameters are mandatory

Back to index