IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel.Security Namespace > Authenticator Class > Login Method : Login(Guid,LoginOptions) Method |
'Declaration
Public Overloads Function Login( _ ByVal sessionKey As Guid, _ Optional ByVal options As LoginOptions _ ) As IAuthenticationContext
'Usage
Dim instance As Authenticator Dim sessionKey As Guid Dim options As LoginOptions Dim value As IAuthenticationContext value = instance.Login(sessionKey, options)
public IAuthenticationContext Login( Guid sessionKey, LoginOptions options )
Exception | Description |
---|---|
IdeaBlade.EntityModel.LoginException | Invalid session key |
User sessions will by default timeout after 30 minutes of inactivity. You will receive a IdeaBlade.EntityModel.LoginException if the session has timed out and you attempt to login with the session key. The timeout value can be modified via the UserSessionTimeout setting.
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