Autor Beitrag
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Mi 30.01.08 14:53 
Hallo,

ich habe in meiner Webanwendung jetzt einen eigenen MembershipProvider entwickelt, funktioniert in dieser Variante jetzt auch sehr gut, ich kann mich damit einloggen.

Nur würde ich nun gern wissen, wie ich per Code an die Daten des Benutzers, also im Endeffekt an die Instanz des MembershipUsers rankomme, um bspw. den Benutzernamen anzeigen zu lassen.

Wer weiß etwas dazu?
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Fr 01.02.08 02:29 
MemberShip.GetUser() oder MemberShip.GetUser("Uwe")
Profile is the way to go, wenn du zusätzliche Eigenschaften in der web.config hinterlegt hast. (Stichwort: ProfileProvider)
UGrohne Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Fr 01.02.08 11:00 
user profile iconRobert_G hat folgendes geschrieben:
MemberShip.GetUser() oder MemberShip.GetUser("Uwe")
Profile is the way to go, wenn du zusätzliche Eigenschaften in der web.config hinterlegt hast. (Stichwort: ProfileProvider)

Yapp, das mit dem ProfileProvider funktioniert bereits. Und jetzt weiß ich auhc, wie ich an das Profil rankomme, danke. Hab immer in der Session oder anderen Objekten gesucht.