Class TAPI3Settings
Class for handling TAPI3 user settings
Inheritance
System.Object
TAPI3Settings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.PhoneInterface.TAPI3
Assembly: Simplic.Framework.dll
Syntax
public class TAPI3Settings
Methods
| Improve this Doc View SourceGetUserDefaultAddress(Int32)
Get the default address for a user/computer
Declaration
public string GetUserDefaultAddress(int userId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | Unique user id |
Returns
Type | Description |
---|---|
System.String |
GetUserDefaultAddress(Int32, String)
Get the default address for a user/computer
Declaration
public string GetUserDefaultAddress(int userId, string computerName)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | Unique user id |
System.String | computerName | Computer name |
Returns
Type | Description |
---|---|
System.String |
IsTAPIEnabled(String)
Get whether the api interface is enabled
Declaration
public bool IsTAPIEnabled(string userName)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | Username |
Returns
Type | Description |
---|---|
System.Boolean | True when it is enabled |
SetIsTAPIEnabled(String, Boolean)
Sets whether the tapi interface is enabled
Declaration
public void SetIsTAPIEnabled(string userName, bool isEnabled)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | Unique username |
System.Boolean | isEnabled | True if it is enabled, else false |
SetUserDefaultAddress(Int32, String)
Set the default tapi address for a user/computer
Declaration
public void SetUserDefaultAddress(int userId, string address)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | Unique user id |
System.String | address | Tapi address |
SetUserDefaultAddress(Int32, String, String)
Set the default tapi address for a user/computer
Declaration
public void SetUserDefaultAddress(int userId, string computerName, string tapiAddress)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | Unique user id |
System.String | computerName | Computer name |
System.String | tapiAddress | Tapi address |