Search Results for

    Show / Hide Table of Contents

    Method GetAllProtectionDomains

    GetAllProtectionDomains(String, Boolean)

    Get all protection domains

    Declaration
    ProtectionDomainResultContract GetAllProtectionDomains(string connectionId, bool doNotFillRoleIds)
    Parameters
    Type Name Description
    System.String connectionId
    System.Boolean doNotFillRoleIds
    Returns
    Type Description
    ProtectionDomainResultContract
    Examples

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

    Example for get all roles simple

    {
        "connectionId": "974a7244-335c-4b9a-9739-5e0e35eb438e",
        "doNotFillRoleIds": "false"
    }

    Response

    {
        "GetAllProtectionDomainsResult": {
            "ProtectionDomains": [
                {
                    "Id": "0100a000-38a7-11d8-a902-0050bf427e8f",
                    "Name": {
                        "Values": [
                            {
                                "Culture": "de",
                                "Text": "Standardsicherheit"
                            },
                            {
                                "Culture": "en",
                                "Text": "Default security"
                            } ]
                    },
                    "RoleIds": [
                        "933ac3dc-0b4b-4ed0-a3eb-29923c0a281d",
                        "03f3559a-a140-ed11-8d64-00155d290a68",
                        "d085c478-b640-ed11-8d64-00155d290a68",
                        "dfb92e08-0b51-ed11-8d76-00155d290a68",
                        "07272c08-0b51-ed11-8d76-00155d290a68",
                        "faba2e08-0b51-ed11-8d76-00155d290a68",
                        "25282c08-0b51-ed11-8d76-00155d290a68" ]
                    },
                {
                    "Id": "da6d9c5f-ff3e-ed11-8d62-00155d290a68",
                    "Name": {
                        "Values": [
                            {
                                "Culture": "de",
                                "Text": "Personaldaten"
                            },
                            {
                                "Culture": "en",
                                "Text": "Personal data"
                            } ]
                    },
                    "RoleIds": [
                        "933ac3dc-0b4b-4ed0-a3eb-29923c0a281d",
                        "03f3559a-a140-ed11-8d64-00155d290a68",
                        "d085c478-b640-ed11-8d64-00155d290a68" ]
                    } ],
            "SessionCount": 1062
        }
    }
    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