GetExternalCatalogRealms

Syntax

ExternalCatalogRealmsResult GetExternalCatalogRealms()

Description

The GetExternalCatalogRealms operation gets storage areas/domains with information about security subjects available to use in the platform.

Comments

The operation does not have input parameters, all information will be obtained from the current user network.

The operation results in the collection of names and types of storage areas/domains.

Example

Below is the example of getting storage areas/domains with information about security subjects that can be used in the platform.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GetExternalCatalogRealms xmlns="http://www.fsight.ru/PP.SOM.Som" />
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetExternalCatalogRealmsResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta xmlns="">
<realms>
<it>
  <type>1</type>
  <name />
  </it>
  </realms>
  </meta>
  </GetExternalCatalogRealmsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetExternalCatalogRealms" : ""
}

JSON response:

{
"GetExternalCatalogRealmsResult" :
{
"meta" :
{
"realms" :
{
"it" :
{
"type" : "1",
"name" : ""
}
}
}
}
}
public static ExternalCatalogRealmsResult GetExternalCatalogRealms()
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
var tGet = new GetExternalCatalogRealms();
// Get information about storage areas/domains
var result = somClient.GetExternalCatalogRealms(tGet);
return result;
}

See also:

Working with Repository