API Method Support by Script Type
Some API methods are supported for all scripts, while others are only supported for one or two type(s) of scripts. For details about what methods are supported by the scripts, see Table 139.
Table 139: API Method Support by Script Type
Object | Method | LDAP Script | Realm Selection Script | Attribute Filter Script |
---|---|---|---|---|
Global Object | SbrWriteToLog () | ✓ | ✓ | ✓ |
SbrTrace () | ✓ | ✓ | ✓ | |
LDAP | Ldap.Search | ✓ | – | – |
LdapVariables.Get | ✓ | – | – | |
LdapVariables.Add | ✓ | – | – | |
LdapVariables.Reset | ✓ | – | – | |
RealmSelector | Execute () | – | ✓ | – |
SetAuthUserName () | – | ✓ | – | |
SetAuthProfile () | – | ✓ | – | |
AttributeFilter | Get () | – | ✓ | ✓ |
Add () | – | – | ✓ | |
Reset () | – | – | ✓ | |
Replace () | – | – | ✓ | |
Execute () | – | – | ✓ | |
DataAccessor | SetInputVariable () | – | ✓ | ✓ |
GetOutputVariable () | – | ✓ | ✓ | |
Execute () | – | ✓ | ✓ | |
Clear () | – | ✓ | ✓ |
Attempting to call an unsupported method from a script causes the script to return SCRIPT_RET_FAILURE and an error message to appear in the log.