Get Domain Name

API Type

Web Services

Description

Retrieves the domain name to which AgilePoint Server connects.

Syntax

public virtual string GetDomainName()

Parameters

Name Description
None Not Applicable

Output

A string containing the domain name of the AgilePoint Server machine.

Example

IWFAdminService svc = GetAdminService();

try
	{
    string domainName = svc.GetDomainName();
    Console.WriteLine("AgilePoint System Domain Name={0}", domainName);
	}

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

/* Sample of output
AgilePoint System Domain Name=LDAP://dc=Frabrikam,dc=com
*/

Supported Versions

4.6 and higher