DevForce Help Reference
CreateUserCore(IPrincipal) Method


Create an System.Security.Principal.IPrincipal representing the current user. Called when the login was performed without an ILoginCredential to load the current user authenticated via Windows authentication or a persistent token.
Syntax
'Declaration
 
Protected Overloads Function CreateUserCore( _
   ByVal currentUser As IPrincipal _
) As IPrincipal
'Usage
 
Dim instance As AspAuthenticatingLoginManager
Dim currentUser As IPrincipal
Dim value As IPrincipal
 
value = instance.CreateUserCore(currentUser)
protected IPrincipal CreateUserCore( 
   IPrincipal currentUser
)

Parameters

currentUser
Remarks
The default implementation creates a IdeaBlade.EntityModel.UserBase, or a type derived from UserBase. The authentication type and roles are obtained from the IPrincipal passed. This method is called when a login is performed without an IdeaBlade.EntityModel.ILoginCredential.

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