GetUserLoginInfoByLoginName module
Get user login information
Sample response (may differ slightly in your environment)
<Q2API HqVersion="4.5.0.6095" HqAssemblyVersion="4.5.0.0" ServerDateTime="2024-03-06T13:27:15.0468572-06:00" AuditId="13633308">
<Result>
<ErrorCode ErrorType="Success">0</ErrorCode>
<ErrorDescription />
<HydraErrorReturnCode>0</HydraErrorReturnCode>
</Result>
<Data>
<DalUserLogonList>
<Q2_UserLogonList>
<UserLogonID>2</UserLogonID>
<UserID>2</UserID>
<LoginName>retail0</LoginName>
<Channel>Internet</Channel>
<LastChange>2022-01-28T11:58:12.947-06:00</LastChange>
<LastLogon>2024-03-06T12:55:37.09-06:00</LastLogon>
<Status>Normal</Status>
<LastFailed>2024-02-29T04:17:05.217-06:00</LastFailed>
<CreateDate>2022-01-28T11:56:35.353-06:00</CreateDate>
<NumInvalidAttempts>0</NumInvalidAttempts>
<AutoGenerated>false</AutoGenerated>
<StatusShortName>Normal</StatusShortName>
<FirstName>SDK</FirstName>
<MiddleName />
<LastName>User</LastName>
<CustomerName>Gorczany Inc Inc</CustomerName>
<IsCompany>false</IsCompany>
<GroupID>4</GroupID>
<GroupName>Q2 Test Group - DO NOT DELETE</GroupName>
<UseCustomerAccounts>false</UseCustomerAccounts>
<PlanName>No Charge</PlanName>
<CustomerID>2</CustomerID>
<ProfileUpdated>true</ProfileUpdated>
<CustomerPrimaryCIF>07212010</CustomerPrimaryCIF>
<UserPrimaryCIF>07212010</UserPrimaryCIF>
<UISourceID>1</UISourceID>
<ChallengeCodeEnabled>false</ChallengeCodeEnabled>
<IsEnrolledInBillpay>false</IsEnrolledInBillpay>
<SecurityAlertProfile>Commercial - Standard Events</SecurityAlertProfile>
<DashboardProfile>No Dashboard Elements</DashboardProfile>
<EmailAddress>noreply@q2ebanking.com</EmailAddress>
<HasAuthorizationToken>true</HasAuthorizationToken>
<IsCommercialGroup>true</IsCommercialGroup>
<IsCorporate>false</IsCorporate>
<ManageUsers>false</ManageUsers>
<ManageUserRoles>false</ManageUserRoles>
<UserStatus>Active</UserStatus>
<EffectiveUserStatus>Active</EffectiveUserStatus>
<UiSelectionShortName>q2</UiSelectionShortName>
<UiLanguageID>1</UiLanguageID>
<LanguageShortName>USEnglish</LanguageShortName>
<HasPendingChanges>false</HasPendingChanges>
<IsProduction>true</IsProduction>
</Q2_UserLogonList>
</DalUserLogonList>
</Data>
</Q2API>
- class q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.ParamsObj(logger, end_user_logon_name, ui_source, hq_credentials=None)[source]
Bases:
Q2ApiParamsObj
Parameters definition for GetUserLoginInfoByLoginName
- Parameters:
logger (
TypeAliasType
) – Reference to calling request’s logger (self.logger in your extension)end_user_logon_name (
str
) – Q2_UserLogon.LoginNameui_source (
str
) – ShortName of Q2_UiSource row. Should almost always be OnlineBankinghq_credentials (
Optional
[HqCredentials
]) – Defaults to settings.HQ_CREDENTIALS
- class q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.Q2_UserLogonList(AutoGenerated, ChallengeCodeEnabled, Channel, CreateDate, CustomerID, CustomerName, CustomerPrimaryCIF, DashboardProfile, EffectiveUserStatus, EmailAddress, FirstName, GroupID, GroupName, HasAuthorizationToken, HasPendingChanges, IsCommercialGroup, IsCompany, IsCorporate, IsEnrolledInBillpay, IsProduction, LanguageShortName, LastChange, LastFailed, LastLogon, LastName, LoginName, ManageUserRoles, ManageUsers, MiddleName, NumInvalidAttempts, PlanName, ProfileUpdated, SecurityAlertProfile, Status, StatusShortName, UISourceID, UiLanguageID, UiSelectionShortName, UseCustomerAccounts, UserID, UserLogonID, UserPrimaryCIF, UserStatus)[source]
Bases:
object
Q2_UserLogonList(AutoGenerated: lxml.objectify.BoolElement, ChallengeCodeEnabled: lxml.objectify.BoolElement, Channel: lxml.objectify.StringElement, CreateDate: lxml.objectify.StringElement, CustomerID: lxml.objectify.IntElement, CustomerName: lxml.objectify.StringElement, CustomerPrimaryCIF: lxml.objectify.StringElement, DashboardProfile: lxml.objectify.StringElement, EffectiveUserStatus: lxml.objectify.StringElement, EmailAddress: lxml.objectify.StringElement, FirstName: lxml.objectify.StringElement, GroupID: lxml.objectify.IntElement, GroupName: lxml.objectify.StringElement, HasAuthorizationToken: lxml.objectify.BoolElement, HasPendingChanges: lxml.objectify.BoolElement, IsCommercialGroup: lxml.objectify.BoolElement, IsCompany: lxml.objectify.BoolElement, IsCorporate: lxml.objectify.BoolElement, IsEnrolledInBillpay: lxml.objectify.BoolElement, IsProduction: lxml.objectify.BoolElement, LanguageShortName: lxml.objectify.StringElement, LastChange: lxml.objectify.StringElement, LastFailed: lxml.objectify.StringElement, LastLogon: lxml.objectify.StringElement, LastName: lxml.objectify.StringElement, LoginName: lxml.objectify.StringElement, ManageUserRoles: lxml.objectify.BoolElement, ManageUsers: lxml.objectify.BoolElement, MiddleName: lxml.objectify.StringElement, NumInvalidAttempts: lxml.objectify.IntElement, PlanName: lxml.objectify.StringElement, ProfileUpdated: lxml.objectify.BoolElement, SecurityAlertProfile: lxml.objectify.StringElement, Status: lxml.objectify.StringElement, StatusShortName: lxml.objectify.StringElement, UISourceID: lxml.objectify.IntElement, UiLanguageID: lxml.objectify.IntElement, UiSelectionShortName: lxml.objectify.StringElement, UseCustomerAccounts: lxml.objectify.BoolElement, UserID: lxml.objectify.IntElement, UserLogonID: lxml.objectify.IntElement, UserPrimaryCIF: lxml.objectify.StringElement, UserStatus: lxml.objectify.StringElement)
-
AutoGenerated:
BoolElement
-
ChallengeCodeEnabled:
BoolElement
-
Channel:
StringElement
-
CreateDate:
StringElement
-
CustomerID:
IntElement
-
CustomerName:
StringElement
-
CustomerPrimaryCIF:
StringElement
-
DashboardProfile:
StringElement
-
EffectiveUserStatus:
StringElement
-
EmailAddress:
StringElement
-
FirstName:
StringElement
-
GroupID:
IntElement
-
GroupName:
StringElement
-
HasAuthorizationToken:
BoolElement
-
HasPendingChanges:
BoolElement
-
IsCommercialGroup:
BoolElement
-
IsCompany:
BoolElement
-
IsCorporate:
BoolElement
-
IsEnrolledInBillpay:
BoolElement
-
IsProduction:
BoolElement
-
LanguageShortName:
StringElement
-
LastChange:
StringElement
-
LastFailed:
StringElement
-
LastLogon:
StringElement
-
LastName:
StringElement
-
LoginName:
StringElement
-
ManageUserRoles:
BoolElement
-
ManageUsers:
BoolElement
-
MiddleName:
StringElement
-
NumInvalidAttempts:
IntElement
-
PlanName:
StringElement
-
ProfileUpdated:
BoolElement
-
SecurityAlertProfile:
StringElement
-
Status:
StringElement
-
StatusShortName:
StringElement
-
UISourceID:
IntElement
-
UiLanguageID:
IntElement
-
UiSelectionShortName:
StringElement
-
UseCustomerAccounts:
BoolElement
-
UserID:
IntElement
-
UserLogonID:
IntElement
-
UserPrimaryCIF:
StringElement
-
UserStatus:
StringElement
-
AutoGenerated:
- class q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.DalUserLogonList(Q2_UserLogonList)[source]
Bases:
object
DalUserLogonList(Q2_UserLogonList: Union[q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.Q2_UserLogonList, List[q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.Q2_UserLogonList]])
-
Q2_UserLogonList:
Union
[Q2_UserLogonList
,List
[Q2_UserLogonList
]]
-
Q2_UserLogonList:
- class q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.Data(DalUserLogonList)[source]
Bases:
object
Data(DalUserLogonList: Union[q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.DalUserLogonList, List[q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.DalUserLogonList]])
-
DalUserLogonList:
Union
[DalUserLogonList
,List
[DalUserLogonList
]]
-
DalUserLogonList:
- class q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.HqResponse(raw_response)[source]
Bases:
HqResponse
- Parameters:
response – Body of HQ response
- async q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.execute(params_obj, use_json=False, **kwargs)[source]
This is the default way to submit the request to HQ. In theory, both json and soap payloads are equally accepted by HQ, though several variables may affect that (HQ version, Q2SDK implementation bugs, etc). This should not affect anything about the way your code deals with the data. In fact, the only difference to consuming extensions is the logging. Basically, call this with default parameters unless you find a compelling reason not to.
- Parameters:
params_obj (
ParamsObj
) – Object containing everything necessary to call this HQ endpointuse_json – If True, will call HQ’s .ashx (json) endpoint instead of .asmx (soap)
- Return type:
- async q2_sdk.hq.hq_api.q2_api.GetUserLoginInfoByLoginName.get_soap(params_obj, **kwargs)[source]
Deprecated. Please use execute instead
- Return type: