Share via


CheckUserOption(string or Uri,UserOption,bool) function

 
Communications Server 2007 Server SDK Documentation

CheckUserOption

The CheckUserOption function indicates whether the user is enabled for a specified option.

bool CheckUserOption(
  string or Uri Key,
  UserOption Option,
  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.
  • Option
    Specifies a user option. For example, Options.UcEnabled.
  • KeyIsPhone
    Optional. The value is true if the Key is a phone; otherwise, false.

Return Values

Returns true if the user is enabled for the option specified by the Option parameter; else false.

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