Sdílet prostřednictvím


IAgentStateService.GetAgentId Method (String)

Gets the logged in agent's ID.

Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Usage

'Usage
Dim instance As IAgentStateService
Dim phoneNumber As String
Dim returnValue As Guid

returnValue = instance.GetAgentId(phoneNumber)

Syntax

'Declaration
Function GetAgentId ( _
    phoneNumber As String _
) As Guid
Guid GetAgentId (
    string phoneNumber
)
Guid GetAgentId (
    String^ phoneNumber
)
Guid GetAgentId (
    String phoneNumber
)
function GetAgentId (
    phoneNumber : String
) : Guid

Parameters

  • phoneNumber
    Specifies the phone number.

Return Value

Type: Guid
The logged in agent's ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

IAgentStateService Interface
IAgentStateService Members
Microsoft.Uii.AifServices Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.