Search Results for

    Show / Hide Table of Contents

    Method GetUserAdminAccessRights

    GetUserAdminAccessRights(String, String)

    Get administrative access rights for a user

    Declaration
    List<string> GetUserAdminAccessRights(string connectionId, string userId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String userId

    The user id. If null connection user will be taken. See also Id

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

    List of allowed access operations

    Examples

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

    Example for get administrative access rights for a user.

    {
       "connectionId": "e08482f2-eb69-4693-b2c1-cdc87f641ec2",
       "userId": "172935af-62e0-e911-a94a-00155d290a08"
    }

    Response:

    {
       "GetUserAdminAccessRightsResult": ["01002040-38a7-11d8-a902-0050bf427e8f", "01002042-38a7-11d8-a902-0050bf427e8f", 
       "01002043-38a7-11d8-a902-0050bf427e8f", "01002041-38a7-11d8-a902-0050bf427e8f", "01002046-38a7-11d8-a902-0050bf427e8f", 
       "01002047-38a7-11d8-a902-0050bf427e8f", "01002045-38a7-11d8-a902-0050bf427e8f", "01002048-38a7-11d8-a902-0050bf427e8f", 
       "01002044-38a7-11d8-a902-0050bf427e8f", "0100201e-38a7-11d8-a902-0050bf427e8f", "01002005-38a7-11d8-a902-0050bf427e8f", 
       "01002006-38a7-11d8-a902-0050bf427e8f", "01002060-38a7-11d8-a902-0050bf427e8f", "01002066-38a7-11d8-a902-0050bf427e8f",
       ...]
    }
    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