IdeaBlade DevForce 2010 Help Reference
UserBase Constructor
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > UserBase Class : UserBase Constructor



identity
roles
Creates an instance of this class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal identity As IIdentity, _
   Optional ByVal roles As IEnumerable(Of String) _
)
Visual Basic (Usage)Copy Code
Dim identity As IIdentity
Dim roles As IEnumerable(Of String)
 
Dim instance As New UserBase(identity, roles)
C# 
public UserBase( 
   IIdentity identity,
   IEnumerable<string> roles
)
C++/CLI 
public:
UserBase( 
   IIdentity^ identity,
   IEnumerable<String^>^ roles
)

Parameters

identity
roles

Remarks

A UserBase is returned by DevForce when you are using the AspAuthenticatingLoginManager, and if you allow anonymous logins but have not implemented a custom IEntityLoginManager.

If you have extended the UserBase base type, you must include a public constructor with the signature below.

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.