You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Classes > ServiceProxyNoUi Class > ServiceProxyNoUi Methods > ServiceProxyNoUi.Login Method
ServiceProxyNoUi.Login Method
Close
Ofcas.Lk.Api.Client - Version 3.0
ServiceProxyNoUi.Login Method

Login to the API to get access to projects, elevations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start).

Syntax
C#
public LoginScope Login(LoginArguments loginArguments, string programMode, TimeSpan synchronizeInterval = default(TimeSpan));
Parameters
Description
LoginArguments loginArguments
The configuration of the dongle, e.g. the licenses to use (LoginArguments).
string programMode
The program mode provided from Orgadata for the associated partner
TimeSpan synchronizeInterval = default(TimeSpan)
The interval to synchronize the core objects in multi-client mode. If the value is TimeSpan.Zero no synchronization will be active.
Exceptions
Description
ArgumentException
Occurs if any argument is invalid.
Occurs if any error occurs.
Copyright © 2020. All rights reserved.