QueryUserPolicy(string or Uri,UserPolicyType,bool) function

 
Communications Server 2007 Server SDK Documentation

QueryUserPolicy

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

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.

  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.