Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

users.login

Deprecated

This method offers alternative signatures:

users.login(username, password)

Signature

users.login(username, password)

Description

Logs in a user using a username and a password to the current Backend Services JavaScript SDK instance. All requests initiated by the current Backend Services JavaScript SDK instance will be authenticated with that user's credentials.

Return Type

Promise - The promise for the request.

See Also:

authentication.login

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.


users.login(username, password, [success], [error])

Signature

users.login(username, password, [success], [error])

Description

Logs in a user using a username and a password to the current Backend Services JavaScript SDK instance. All requests initiated by the current Backend Services JavaScript SDK instance will be authenticated with that user's credentials.

See Also:

authentication.login

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.
[success] function A success callback.
[error] function An error callback.


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.