Re: Using login alias in Membership Provider



sorry - i meant

_or_ simply write your own auth lib.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

no - this is just not supported by membership. If you need to augment
the membership data with additional data you need to use Profile and
simply write your own authentication library that is not tied to
membership.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
Our user directly allows authentication with "short names". For
example, the user "Joe Cool/Acme" can log in with the user id
"jcool".

In implementing an ASP.NET Membership Provider, we can not figure out
how to supply the real user name (used in access control settings,
etc.) when users log in using just the short name. It seems like the
ValidateUser method should provide a way to supply the real name in
addition to just returning true or false. Are we missing something?

Thanks!



.



Relevant Pages

  • Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
    ... you can do that manually by checking the IsLockedOut property - nothing built in AFAIK ... Dominick Baier - DevelopMentor ... The below portion is the membership ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Full name & email from principal
    ... the static Membership class is a facade to the provider - the rest is done in web.config. ... Dominick Baier - DevelopMentor ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Membership - Database Security
    ... I think your analysis about the shared database condition is reasonable. ... if we configure multiple ASP.NET 2.0 application's membership provider ... the existing membership data of that application incorrectly. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: When does the Roles/Username get set in HTTPContext?
    ... Dominick Baier ... I have just made an app that uses the 2.0 membership and roles system, ... roles or other context for that user gets saved for later use. ... Is there some special code I have to put in the login control events ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Using login alias in Membership Provider
    ... If you need to augment the membership data with additional data you need to use Profile and simply write your own authentication library that is not tied to membership. ... how to supply the real user name (used in access control settings, ...
    (microsoft.public.dotnet.framework.aspnet.security)