Search Results for

    Show / Hide Table of Contents

    Method GetUsersSimpleForAccessOperation

    GetUsersSimpleForAccessOperation(String, String, String, UserFilterContract)

    Get users simple for access operation

    Declaration
    UserSimpleForAccessOperationResultContract GetUsersSimpleForAccessOperation(string connectionId, string protectionDomainId, string accessOperationId, UserFilterContract userFilter)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String protectionDomainId

    The protection domain id

    System.String accessOperationId

    The accessoperation id

    UserFilterContract userFilter

    User filter See also UserFilterContract Default configuration for userFilter: RemoveDeletedUsers = false, RemoveInactiveUsers = true

    Returns
    Type Description
    UserSimpleForAccessOperationResultContract

    Get users simple for accessOperation

    Examples

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

    Example for get users simple information of this server.

    {
       "connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
       "protectionDomainId": "2cd4ad99-bacf-e911-a939-00155d290a08",
       "accessOperationId": "01002016-38a7-11d8-a902-0050bf427e8f",
       "userFilter": {
         "RemoveDeletedUsers": true,
         "RemoveExternalLicenseUsers": false,
         "RemoveHiddenUsers": true,
         "RemoveInactiveUsers": true 
       }
    }

    Response:

    {
        "GetUsersSimpleForAccessOperationResult": {
            "SessionCount": 72,
            "Users": [
                {
                    "DisplayName": "Jeanne M.",
                    "Id": "78ffa4b6-75f0-ec11-a226-00155d109000",
                    "LoginName": "jeanne"
                },
                {
                    "DisplayName": "Corynne",
                    "Id": "9eb4194e-7073-ec11-a1a9-00155d109000",
                    "LoginName": "corynne"
                },
                {
                    "DisplayName": "DCI administrator",
                    "Id": "0100a003-38a7-11d8-a902-0050bf427e8f",
                    "LoginName": "dciadmin"
                }
            ]
        }
    }
    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)

    ServiceException

    Protection domain not found {protectionDomainId} (10036)

    Back to top Copyright © Kendox