AgentStateService.GetAgentId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAgentId() |
Gets the logged in agent's id. |
GetAgentId(String) |
Gets the agent's ID for the given phone number. |
GetAgentId()
Gets the logged in agent's id.
public:
virtual Guid GetAgentId();
public virtual Guid GetAgentId ();
abstract member GetAgentId : unit -> Guid
override this.GetAgentId : unit -> Guid
Public Overridable Function GetAgentId () As Guid
Returns
Implements
Applies to
GetAgentId(String)
Gets the agent's ID for the given phone number.
public:
virtual Guid GetAgentId(System::String ^ phoneNumber);
public virtual Guid GetAgentId (string phoneNumber);
abstract member GetAgentId : string -> Guid
override this.GetAgentId : string -> Guid
Public Overridable Function GetAgentId (phoneNumber As String) As Guid
Parameters
- phoneNumber
- String
Specifies the phone number.