ActiveReports 12 Server User Guide
Login Method
ActiveReports 12 Server User Guide > Web Service Library > ReportService > Login Method

Checks user credentials and creates a security token if the credentials are valid.

Syntax

C#
Copy Code
string Login(string username, string password, string custom, bool isPersistent);

Parameters

username
A string value indicating the user name to validate.

password
A string value indicating the password for the specified user.

custom
Other string values to validate in addition to the user name and password, if any.

isPersistent
A Boolean value indicating whether the security token remains valid across sessions.

Return Value

A string value containing the security token if the user credentials are valid; otherwise, null.

See Also