Method GetGroupsForAccessOperation
GetGroupsForAccessOperation(String, String, String)
Get groups for access operation
Declaration
GroupResultContract GetGroupsForAccessOperation(string connectionId, string protectionDomainId, string accessOperationId)
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 |
Returns
Type | Description |
---|---|
GroupResultContract | Get groups for accessOperation |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetGroupsForAccessOperation
Example for get groups information of this server.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"protectionDomainId": "2cd4ad99-bacf-e911-a939-00155d290a08",
"accessOperationId": "01002016-38a7-11d8-a902-0050bf427e8f"
}
Response:
{
"GetGroupResult": {
"SessionCount": 72,
"Groups": [
{
"Description": {
"Values": [
{
"Culture": "de",
"Text": ""
}
]
},
"DisplayName": "Verbindungsleute",
"Domain": "",
"Id": "799b8959-6fb9-ec11-a1f0-00155d109000",
"Name": "Verbindungsleute",
"SID": "",
"UserIds": [
"25830b1b-3076-ed11-a299-00155d109000",
"d9afb371-c05d-ee11-a34b-00155d109000"
]
}
]
}
}
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) |