The LoginInfo
object stores information on the ID, department ID and projects available to a specific user. You need this information to authenticate requests made to the QAComplete SOAP API.
The LoginInfo
object is returned by the GetLoginInfo
and GetLoginInfoByEntity
operations.
Properties
UserId : integer
The unique ID of the user.
In QAComplete, you can see it in > Setup > Security > Users > click the user name > UserId.
AppCode : string
For QAComplete SaaS (hosted on qacomplete.smartbear.com), use agSP.
For QAComplete On-Premises (hosted on your company-owned server), this is typically agSPEnt.
You can see the needed AppCode value on the
ProjId : integer
The ID of the project with which the user worked last time.
DeptId : integer
The department ID of the project with which the user worked last time.
Projects : array of Project
An array of Project
objects that describe the projects the user can access.
AppCode : string
For QAComplete SaaS (hosted on qacomplete.smartbear.com), use agSP.
For QAComplete On-Premises (hosted on your company-owned server), this is typically agSPEnt.
You can see the needed AppCode value on the
DeptId : integer
The department ID of the project with which the user worked last time.
Projects : array of Project
An array of Project
objects that describe the projects the user can access.
ProjId : integer
The ID of the project with which the user worked last time.
UserId : integer
The unique ID of the user.
In QAComplete, you can see it in > Setup > Security > Users > click the user name > UserId.
Relevant Operations
Example
XML
<LoginInfo>
<UserId>25315</UserId>
<AppCode>agSP</AppCode>
<ProjId>10372</ProjId>
<DeptId>7154</DeptId>
<Projects>
<Project>
<DeptId>7154</DeptId>
<DeptName>Edgar Solutions</DeptName>
<ProjId>10372</ProjId>
<ProjName>FamilyAlbum</ProjName>
</Project>
<Project>
<DeptId>7154</DeptId>
<DeptName>Edgar Solutions</DeptName>
<ProjId>10369</ProjId>
<ProjName>ScreenSaver</ProjName>
</Project>
</Projects>
</LoginInfo>
See Also
Users Operations
GetLoginInfo Operation
GetLoginInfoByEntity Operation