Search Results for

    Show / Hide Table of Contents

    Method GetUserStore

    GetUserStore(String)

    Get user information of this server

    Declaration
    UserStoreContract GetUserStore(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    UserStoreContract

    Current user store

    Examples

    POST http://YourServerName/InfoShare/Json/Common/GetUserStore

    Example for get user information of this server.

    {
       "connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a"
    }

    Response:

    {
       "GetUserStoreResult": {
         "Groups": [{
           "DisplayName": "Administration",
           "Domain": "",
           "Id": "f51c8bf1-14d0-e911-a93a-00155d290a08",
           "Name": "Administration",
           "UserIds": ["0100a003-38a7-11d8-a902-0050bf427e8f", "2cd4ad99-bacf-e911-a939-00155d290a08"],
           "SID": "S-1-5-21-515967899-920026266-1708537768-1000"
         }],
         "OwnUserId": "2cd4ad99-bacf-e911-a939-00155d290a08",
         "SessionCount": 8,
         "Users": [{
           "Active": true,
           "ApplicationUser": false,
           "CanChangeLanguage": true,
           "CanChangeOptions": true,
           "CanExecuteDefaultSearch": true,
           "DisplayName": "DCI administrator",
           "Domain": "",
           "Email": null,
           "HasEmailNotification": false,
           "Id": "0100a003-38a7-11d8-a902-0050bf427e8f",
           "Language": "de",
           "LoginName": "dciadmin",
           "LoginWithCertificate": false,
           "LoginWithInternalPassword": true,
           "LoginWithWindowsUser": false,
           "LoginWithoutPassword": false,
           "NamedUser": false,
           "Obsolete": false,
           "PhoneNumber": null
           }, {
           "Active": true,
           "ApplicationUser": false,
           "CanChangeLanguage": true,
           "CanChangeOptions": true,
           "CanExecuteDefaultSearch": true,
           "DisplayName": "Max Musterman",
           "Domain": "Kendox",
           "Email": "max.mustermann@kendox.com",
           "HasEmailNotification": true,
           "Id": "2cd4ad99-bacf-e911-a939-00155d290a08",
           "Language": "de",
           "LoginName": "koj",
           "LoginWithCertificate": false,
           "LoginWithInternalPassword": true,
           "LoginWithWindowsUser": false,
           "LoginWithoutPassword": true,
           "NamedUser": false,
           "Obsolete": false,
           "PhoneNumber": "+41 (71) 552 34 00" }] }
    }
    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)

    ServiceException

    Two way authentication type ({twoWayAuthenticationType}) is invalid. Valid types are: {allowedTwoWayAuthenticationTypes} (10148)

    ServiceException

    Could not parse int {flag} to a valid two way authentication type (10154)

    Back to top Copyright © Kendox