Export (0) Print
Expand All

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The QueryUserPolicy function returns an XML fragment containing the policy assigned to the specified user (the Key) based on server configuration.

Syntax

string QueryUserPolicy(
  string or Uri Key,
  UserPolicyType PolicyType,
  bool KeyIsPhone
);

Parameters

Key

The identity of the user. Can be a SIP URI, a user URI in the form user@host, a user URI in the form user@host;user=phone, or a telephone number.

PolicyType

Identifies the policy. For example, PolicyType.Uc or PolicyType.Meeting.

KeyIsPhone

Optional. The value is true if the Key is a phone; otherwise, false.

Return Values

Returns an XML fragment containing the policy assigned to the specified user (the Key) based on server configuration.

Show:
© 2015 Microsoft