Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal identity As IIdentity, _ Optional ByVal roles As IEnumerable(Of String) _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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
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.
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