Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Current User in BO
Message
 
À
21/02/2011 14:18:15
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01501149
Message ID:
01501186
Vues:
47
Frank,

Remember, a user is by definition in the 'Interface' layer, therefore, you would not want to have it generally in the 'Business' layer. With that said, creating a parameter to be passed into the Business layer is the approach that I currently use.

HTH

>Hi,
>
>I'm using MM.NET 3.6, VS2008 & C# in an ASP.NET application.
>
>I've used code like this in my Web UI to get the currently logged in user:
>
>
Session["mmUserSecurity_UserPk"]
>
>Is there anything equivalent to this in the Business Object project? Or do I have to pass that value in as a parameter to my code?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform