| Methods / Administrative Service | |
Web Services
Retrieves the default locale for the AgilePoint Server.
public virtual string GetLocale()
| Name | Description |
|---|---|
| None | Not Applicable |
Locale abbreviation—for example, en-US.
IWFAdminService svc = GetAdminService();
string activeDirectoryLdapPath = ...// for example,
LDAP://ou=Sales,dc=Frabrikam,dc=com
string userFilter = ""; // All Users
try
{
string locale = svc.GetLocale();
Console.WriteLine("Locale = '{0}'", locale);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
/*
This example produces the following results:
Locale = 'en-US
*/
4.6 and higher