Share via


ILyncClient.SignIn Method

Starts the uc Client sign in process with a specific availability.

Namespace:  UCCollaborationLib
Assembly:  Microsoft.Office.Uc (in Microsoft.Office.Uc.dll)

Syntax

HRESULT SignIn
(
   BSTR userUri,
   BSTR domainAndUsername,
   BSTR password,
   IUnknown* LyncClientCallback,
   VARIANT state,
   IAsynchronousOperation** asyncOperation
);

Parameters

  • userUri
    Type: String
    A value of the BSTR type. The default value is NULL. When NULL then sign-in address of local user is used.
  • domainAndUsername
    Type: String
    A value of the BSTR type. The default value is NULL. When NULL then sign-in address of local user is used.
  • password
    Type: String
    A value of the BSTR type. The default value is NULL. When NULL then sign-in address of local user is used.
  • LyncClientCallback
    Type: Object
    A value of the IUnknown type. The default value is NULL.
  • state
    Type: Object
    A value of the VARIANT type. Can be used to pass sign in context to asynchronous callback invoked on sign-in.

Return Value

A value of the IAsynchronousOperation** (IAsynchronousOperation, for a .NET application) type. Can be used to cancel operation in some cases.

See Also

ILyncClient Interface

UCCollaborationLib Namespace