Search Results for

    Show / Hide Table of Contents

    Method GetDocumentSharesForCurrentUser

    GetDocumentSharesForCurrentUser(String)

    Returns a list of all document share informations for the current user

    Declaration
    List<DocumentShareContract> GetDocumentSharesForCurrentUser(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

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

    A list of all document share informations for the current user

    Examples

    POST http://YourServerName/InfoShare/Json/Document/GetDocumentSharesForCurrentUser

    Example for returns a list of document share informations for the current user.

    {
       "connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238"
    }

    Response:

    {
       "GetDocumentSharesForCurrentUserResult": [{
         "Id": "9a8200bd-82db-e911-a946-00155d290a08",
         "SecurityHandlerDocuments": [{
           "AllowedAccessOperations": ["01002010-38a7-11d8-a902-0050bf427e8f", "01002014-38a7-11d8-a902-0050bf427e8f",
           "01002074-38a7-11d8-a902-0050bf427e8f", "01002081-38a7-11d8-a902-0050bf427e8f", 
           "01002080-38a7-11d8-a902-0050bf427e8f", "01002016-38a7-11d8-a902-0050bf427e8f"],
           "CreateDate": "2019-09-20T08:43:38",
           "CreatorUser": "2cd4ad99-bacf-e911-a939-00155d290a08",
           "EndDate": "2019-09-20T23:59:59",
           "Id": "ac8200bd-82db-e911-a946-00155d290a08",
           "LastChangeDate": "2019-09-20T08:43:38",
           "LastChangeUser": "2cd4ad99-bacf-e911-a939-00155d290a08",
           "Name": null,
           "SearchableObjects": [{
             "Id": "d98200bd-82db-e911-a946-00155d290a08",
             "ObjectId": "7d58533d-75db-e911-a946-00155d290a08",
             "ObjectTypeId": "86bc60b4-86c3-4fd6-beef-50af23a0ac9c",
             "StoreId": "3bb6448c-b9cf-e911-a939-00155d290a08" }],
           "StartDate": "2019-09-20T00:00:00" }],
         "SubjectId": "2cd4ad99-bacf-e911-a939-00155d290a08",
         "TempAccessDefinitionName": "##DocShare##Freigabe Test" }]
    }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Document share not found {documentShareId} (10104)

    ServiceException

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

    Back to top Copyright © Kendox