session_set_team ()
Function prototype | session_set_team (session, team) |
---|---|
API Version | ALL |
Suported interfaces | SOAP, REST (from API Version 2.7.32) |
Sets the active TEAM for the SESSION USERThe function also verifies that the active ROLE is compatible with the team, and if not, the active ROLE is changed to:
| |
Version | |
Input parameters: |
|
Output parameters: |
|
Request sample: | session_set_active_team ( “LCAAAAAAAAAAAAAAAAAAAAAAAA”, 1234); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result></result> <ErrorMsg xsi:type="xsd:string">You have 2 attempts left</ErrorMsg> <ErrorCode>USER_ACCESS_DENIED</ErrorCode> |
Notes: | This call will replaces legacy function † session_set_active_team ( session, team ) |
, multiple selections available,