Search Results for

    Show / Hide Table of Contents

    Method GetOwnUser

    GetOwnUser(String)

    Get own user

    Declaration
    UserContract GetOwnUser(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    UserContract

    Currently logged in user

    Examples

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

    Example for get own user.

    {
       "connectionId": "2cc8a7dd-28c8-4f63-9a47-e75bee1d5cc9"
    }

    Response:

    {
        "GetOwnUserResult": {
            "Active": true,
            "AllowedIPEndpoints": [],
            "ApplicationUser": false,
            "CanAccessPrivateFolder": true,
            "CanChangeLanguage": true,
            "CanChangeOptions": true,
            "CanExecuteDefaultSearch": true,
            "DisplayName": "Anaïs",
            "DoNotShowPersonalFolderSystem": false,
            "Domain": "",
            "Email": "anais@kendox.com",
            "HasEmailNotification": false,
            "Id": "0aa1d289-ac04-eb11-a0dc-00155d109000",
            "Language": "",
            "LoginName": "anaïs",
            "LoginWithCertificate": false,
            "LoginWithInternalPassword": false,
            "LoginWithWindowsUser": false,
            "LoginWithoutPassword": true,
            "NamedUser": false,
            "Obsolete": false,
            "PhoneNumber": "",
            "UserFromDateTimeActive": "",
            "UserMustChangePassword": false,
            "UserToDateTimeActive": ""
        }
    }
    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