DevForce Help Reference
CreateUserCore(String,Boolean,IEnumerable<String>) Method


Create an System.Security.Principal.IPrincipal representing the current user. Called when the login was passed an ILoginCredential.
Syntax
'Declaration
 
Protected Overloads Function CreateUserCore( _
   ByVal name As String, _
   ByVal isAuthenticated As Boolean, _
   ByVal roles As IEnumerable(Of String) _
) As IPrincipal
'Usage
 
Dim instance As AspAuthenticatingLoginManager
Dim name As String
Dim isAuthenticated As Boolean
Dim roles As IEnumerable(Of String)
Dim value As IPrincipal
 
value = instance.CreateUserCore(name, isAuthenticated, roles)

Parameters

name
isAuthenticated
roles
Remarks
The default implementation creates a IdeaBlade.EntityModel.UserBase, or a type derived from UserBase. The authentication type is "Forms" if ASP.NET compatibility was enabled for the service.

This method has been deprecated. Override CreateIdentityCore and or CreatePrincipalCore to customize default processing, which returns a IdeaBlade.EntityModel.UserBase containing a IdeaBlade.EntityModel.UserIdentity.

Requirements

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

See Also

Reference

AspAuthenticatingLoginManager Class
AspAuthenticatingLoginManager Members
Overload List

Send Feedback