Search Results for

    Show / Hide Table of Contents

    Method ResetFolderColumnConfigurationForUserId

    ResetFolderColumnConfigurationForUserId(String, FolderPathContract, String)

    Reset a folder column configuration to master configuration for a user passed as userId parameter

    Declaration
    void ResetFolderColumnConfigurationForUserId(string connectionId, FolderPathContract folderPath, string userId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    FolderPathContract folderPath

    FolderPath to reset configuration

    System.String userId

    The user id. See also Id

    Remarks

    You need "SetMasterColumnConfiguration" access right. See also AccessRightsEnum

    Examples

    POST http://YourServerName/InfoShare/Json/Folder/ResetFolderColumnConfigurationForUserId

    Example reset a folder column configuration to master configuration for a user passed as parameter.

    {
       "connectionId": "23a97160-3a3d-4acf-bb93-8040848440f4",
       "folderPath": {
         "FolderSystemId": "9762c061-b7cf-e911-a939-00155d290a08",
         "Path": "cb62c061-b7cf-e911-a939-00155d290a08\\400c1f61-c0cf-e911-a939-00155d290a08
                 \\c5eab4be-a4de-e911-a948-00155d290a08" },
       "userId": "0100a003-38a7-11d8-a902-0050bf427e8f"
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Root folder not found (10023)

    ServiceException

    Folder not found {folderPath} (10025)

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId}) (10071)

    ServiceException

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

    Back to top Copyright © Kendox