IdeaBlade DevForce 2010 Help Reference
IsLoggedIn Property
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : IsLoggedIn Property



Returns whether this EntityManager is logged in to the EntityServer.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("Will be removed after 9/1/2012.  Use AuthenticationContext.LoginState instead.")>
Public ReadOnly Property IsLoggedIn As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
Dim value As Boolean
 
value = instance.IsLoggedIn
C# 
[ObsoleteAttribute("Will be removed after 9/1/2012.  Use AuthenticationContext.LoginState instead.")]
public bool IsLoggedIn {get;}
C++/CLI 
[ObsoleteAttribute("Will be removed after 9/1/2012.  Use AuthenticationContext.LoginState instead.")]
public:
property bool IsLoggedIn {
   bool get();
}

Remarks

If EntityManagerOptions.UseDefaultAuthenticationContext is on, then this EntityManager will use the IdeaBlade.EntityModel.Security.Authenticator.DefaultAuthenticationContext.

A login can occur explicitly with a call to the Login(ILoginCredential) or IdeaBlade.EntityModel.Security.Authenticator.Login method; credentials from another logged in EntityManager can be used if the EntityManager was created via one of the copy constructors or the LinkForAuthentication method was called; or a login can be performed implicitly by the EntityManager if credentials have not been supplied and guest user access is allowed.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.