Share via


AgentStateService.GetAgentId Method

Definition

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.

Returns

Implements

Applies to