Click or drag to resize

ApplicationExtensionBaseBeforeLoadProfiles Method

Called before profiles are loaded by the IAuthenticationProvider. Currently (version 2.4) only the DatabaseAuthenticationProvider fires this event.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public virtual void BeforeLoadProfiles(
	IAppContext sender,
	BeforeLoadProfilesEventArgs e
)

Parameters

sender
Type: NetQuarryIAppContext
The application context object. Will never be null.
e
Type: NetQuarryBeforeLoadProfilesEventArgs
Event arguments. Note that the UserContext object that is going to be set on the IAppContext object is passed by the authentication provider. If you are going to add profiles you should add them to the UserContext object passed to this method and set on the event arguments. The UserContext object is not properly setup at this point and should not be used.
Remarks
If you load the profiles yourself and do NOT want the default handling to take place then you should set the result to ContinueNoExec. All other return values except 'Error' are ignored.
See Also