SetResponse method: ContentAuthorizorBase class
Syntax
SetResponse(&Cmd, &ValidDuration)
Description
Use the SetResponse method to set the authorization result and the time duration (in seconds).
Parameters
| Parameter | Description |
|---|---|
|
&Cmd |
Specifies the authorization result as a fixed string value.
|
|
&ValidDuration |
Specifies the time duration as an integer value. This is an optional parameter. The default value is 300 seconds. |
Returns
None.
Example
%This.SetResponse(%This.DENY, 60);
Related Topics