Search Results for

    Show / Hide Table of Contents

    Method GetNamedLicences

    GetNamedLicences(String)

    Retrieve currently used named licences

    Declaration
    List<LicenceContract> GetNamedLicences(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    System.Collections.Generic.List<LicenceContract>

    Used licence list

    Examples

    POST http://YourServerName/InfoShare/Json/Server/GetNamedLicences

    Example for retrieve currently used named licenses.

    {
       "connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
    }

    Response:

    {
       "GetNamedLicencesResult": [{
         "Clients": [{
           "ClientId": "00000002-38b2-11d8-a902-0050bf427e8f",
           "IP": "172.28.5.120",
           "UserId": "0100a003-38a7-11d8-a902-0050bf427e8f",
           "UserName": "dciadmin",
           "WindowsUser": "koj" }],
         "Id": "00000001-2c87-4300-92dc-f70d2b7a0a2a" }]
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox