Change Logon Status
Also called ChangeLogonStatus in HQ code and ChangePasswordStatus in AuditActions
- class q2_sdk.hq.models.external_auth.change_logon_status.Request(raw, login_id, locked, user_primary_cif, customer_primary_cif, is_logon, is_prelogon_session, session_id)[source]
Bases:
BaseAuthRequest
Shape that comes in from HQ when logon status changes from locked/unlocked. To invoke in the sandboxes:
Run
q2 db unlock_user
from the CLI.<HQ request="ChangeStatus" messageID="{0}"> <LoginId>2</LoginId> <Locked>True</Locked> <UserPrimaryCIF>MDcyMTIwMTA=</UserPrimaryCIF> <CustomerPrimaryCIF>MDcyMTIwMTA=</CustomerPrimaryCIF> <isLogon>True</isLogon> <IsPrelogonSession>False</IsPrelogonSession> <SessionId>shb3cnukdl32c54nodvyxcsj</SessionId> </HQ>
- class q2_sdk.hq.models.external_auth.change_logon_status.Response(standard_auth_response_fields)[source]
Bases:
BaseAuthResponse
Response(standard_auth_response_fields: ‘StandardAuthResponseFields’)
- classmethod get_failure(*args, **kwargs)
Returns Failure to HQ
- Return type:
Self
- classmethod get_success(*args, **kwargs)
Returns OK to HQ
- Return type:
Self