Get Organization Properties

API Type

Web Services

Description

Retrieves organization properties such as Title, Department and Location.

Syntax

public virtual KeyValue[] GetOrganizationProperties(string Name)

Parameters

Name Description

Name

Definition:
The name of an item, such as a property or attribute in a name/value pair.
Type
string
Allowed Values:
A valid name.

Output

An array of KeyValue objects.

Example

IWFAdminService svc = GetAdminService();
string name = ...// for example, "Departments"

try
	{
    KeyValue[] organizationProperties =
    svc.GetOrganizationProperties(Name);
    foreach (KeyValue property in organizationProperties)
	   {
       Console.WriteLine("Property Name = 'Department' Property Value =
       '" + property.Value + "'");
	   }    
	}

catch (Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher