QueryHomeServer
QueryHomeServer
The QueryHomeServer function returns the fully qualified domain name (FQDN) of the home server for a specified SIP user.
Syntax
string QueryHomeServer(
string userAtHost,
ClusterType clusterType
);
Parameters
userAtHost
A SIP user as a string of the form "someone@example.com" whose home server will be returned.clusterType
The type of a cluster this home server belongs to. This is introduced in Microsoft Lync Server 2010.
Return Values
Returns either the FQDN of the specified Standard Edition home server, or the name of the Enterprise Edition pool. If the user is not in the registrar database, returns null.