ActiveReports 12 Server User Guide
Login Method (IReportService)

ActiveReports.Server.ReportControls Assembly > ActiveReports.Server.ReportServices.Servicing Namespace > IReportService Interface : Login Method
The user name to be validated.
The password for the specified user.
The value or values to validate in addition to user name and password, if any
A value that indicates whether the authentication ticket remains valid across sessions.
Checks user credentials and creates an security token if the credentials are valid.
Syntax
'Declaration
 
Function Login( _
   ByVal username As String, _
   ByVal password As String, _
   ByVal custom As String, _
   ByVal isPersistent As Boolean _
) As String
string Login( 
   string username,
   string password,
   string custom,
   bool isPersistent
)

Parameters

username
The user name to be validated.
password
The password for the specified user.
custom
The value or values to validate in addition to user name and password, if any
isPersistent
A value that indicates whether the authentication ticket remains valid across sessions.

Return Value

A security token if user credentials are valid; otherwise, null
See Also

Reference

IReportService Interface
IReportService Members