ActiveReports 9 Server
Login Method (IReportService)

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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IReportService Interface
IReportService Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum