IdeaBlade DevForce 2010 Help Reference
CreateIdentityCore Method
See Also  Send Feedback
IdeaBlade.EntityModel.Web Assembly > IdeaBlade.EntityModel.Web Namespace > AspAuthenticatingLoginManager Class : CreateIdentityCore Method



name
authenticationType
isAuthenticated
Creates an IIdentity from the information passed.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function CreateIdentityCore( _
   ByVal name As String, _
   ByVal authenticationType As String, _
   ByVal isAuthenticated As Boolean _
) As IIdentity
Visual Basic (Usage)Copy Code
Dim instance As AspAuthenticatingLoginManager
Dim name As String
Dim authenticationType As String
Dim isAuthenticated As Boolean
Dim value As IIdentity
 
value = instance.CreateIdentityCore(name, authenticationType, isAuthenticated)
C# 
protected virtual IIdentity CreateIdentityCore( 
   string name,
   string authenticationType,
   bool isAuthenticated
)
C++/CLI 
protected:
virtual IIdentity^ CreateIdentityCore( 
   String^ name,
   String^ authenticationType,
   bool isAuthenticated
) 

Parameters

name
authenticationType
isAuthenticated

Remarks

The default implementation returns a IdeaBlade.EntityModel.UserIdentity. If you return a custom IIdentity be sure that it can be serialized, and is defined on both client and server in n-tier deployments.

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.