ISimpleLoginService
Overview
The ISimpleLoginService interface represents a Remoting SDK service that can be used to perform user authentication.
Note: Only services that implement the ISimpleLoginService interface can be used by the ODataSchemaDispatcher or RestSchemaDispatcher dispatchers to perform user authentication.
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Server
- Ancestry: IBaseLoginService | ISimpleLoginService
Required Methods
Login
Method that performs user authentication based on the provided credentials. This method returns true if the user was successully authenticated, otherwise false will be returned.
method Login(aUserID: String; aPassword: String; out aUserInfo: UserInfo): Boolean
Boolean Login(String aUserID, String aPassword, out UserInfo aUserInfo)
Function Login(aUserID As String, aPassword As String, <OutAttribute> ByRef aUserInfo As UserInfo) As Boolean
Parameters:
- aUserID: User name
- aPassword: User password
- aUserInfo: Variable of UserInfo type that will contain additional information about the logged in user.
LoginEx (declared in IBaseLoginService)
Provides the actual login procedure.
method LoginEx(aLoginString: String): Boolean
Boolean LoginEx(String aLoginString)
Function LoginEx(aLoginString As String) As Boolean
Parameters:
- aLoginString: String that contains the connection name, user name and password
Logout (declared in IBaseLoginService)
Provides the actual logout procedure.
method Logout
void Logout()
Sub Logout()
-
ISimpleLoginService Interface
- .NET
- Delphi