The QueryCategoryBySubscriberfunction fetches an item published in a specified enhanced presence container, which is selected based on the access control lists (ACLs) associated with the indicated Subscriber and Source Network.
string QueryCategoryBySubscriber( string or Uri Publisher, string Subscriber, string ExternalSourceNetwork, string CategoryName, bool PublisherIsPhone );
Returns an XML string representation of the specified presence category if the category name is "userProperties", "workingHours", "dndState", "routing" or "contactCard". Otherwise, the function returns null .
Microsoft Lync Server 2013 provides the infrastructure to enable client applications to publish and subscribe to enhanced presence information. The enhanced presence infrastructure includes categories and containers. Categories are individual pieces of presence information, such as status, location, or calendar state. Containers are logical buckets into which clients publish instances of various categories of presence information.