DaveC
Posts: 1
|
| Posted: 05/20/2008, 12:28 PM |
|
Hi,
I'm attempting to add front end login capability to my existing app. I'm at the point where I've got the Registration sample code integrated with my existing code and can bring up the login dialog, authenticate the user, and redirect to my start page. What I need to know is what routine do I call to get the user info (ID, name, role) from? Also, what is the preferred mechanism to get the user info to the application? Obviously I can add this info as parameters in the Redirect call to my start page, but is there a better way?
Thanks in advance.
|
 |
 |
tsgroman
Posts: 64
|
| Posted: 05/20/2008, 1:14 PM |
|
.NET you can use the built in Session Variable UserID or Session("UserID"). This is easily setup through the query builder.
See this post:
http://forums.yessoftware.com/posts.php?post_id=96330
Hope this helps...
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 05/20/2008, 3:23 PM |
|
In global CCS terms you use:
CCGetUserID()
CCGetUserLogin()
CCGetGroupID()
See help file, search on these terms
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|