GET api/License/UserLicense
Checks if the user is licensed on the current solution
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns an enum indicating if the user has an active, limited, external or no license for the current solution
WorkPoint365.WebAPI.Model.UserLicenseName | Description | Type | Additional information |
---|---|---|---|
Status |
Gets or sets the status. |
WorkPoint365.WebAPI.Model.UserLicenseStatus |
None. |
SolutionUrl |
Gets or sets the solution URL. |
string |
None. |
LoginName |
Gets or sets the name of the login. |
string |
None. |
Version |
Gets or sets the version. |
string |
None. |
AuditLogAccess |
Gets or sets if the user has access to the audit log. |
boolean |
None. |
LicensedFeatures |
Gets or sets an array of licensed features. |
Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "SolutionUrl": "sample string 1", "LoginName": "sample string 2", "Version": "sample string 3", "AuditLogAccess": true, "LicensedFeatures": [ 1, 2 ] }
application/xml, text/xml
Sample:
<UserLicense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model"> <AuditLogAccess>true</AuditLogAccess> <LicensedFeatures xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </LicensedFeatures> <LoginName>sample string 2</LoginName> <SolutionUrl>sample string 1</SolutionUrl> <Status>Unlicensed</Status> <Version>sample string 3</Version> </UserLicense>