ArthurDent
|
| Posted: 02/10/2006, 2:29 PM |
|
Hi!
Could someone just tell me (explain very deeply) ,how to get logged user and logged user id to seen on page.
I tryed to example, but I did something wrong.
If you have good example, please show it to me.
AD
|
|
|
 |
Rene S
|
| Posted: 02/10/2006, 10:15 PM |
|
Hi AD,
Once a user logs in, a session is started (CCS does that for you). In your security settings of the project, you can "connect" your user table to "UserID" from the session that CCS starts. After this, you can use the UserID as any other parameter you normally use. Set it in the grid etc. as "where" parameter > YourUserID=UserID > set type to session.
Hope I explained it well enough. (I'm not the real expert)
Good luck,
Rene
|
|
|
 |
ArthurDent
|
| Posted: 02/11/2006, 1:45 AM |
|
Thanks replying. This is my firts time to use this kind of software.
I may sound stubit, but I still missed whole thing.
I have 2 pages(Login and Default) and I have database connection SQL Connection to User Table.
If I use Grid Builder on Default page, I can see all users and etc.
But also I liked to see logged user also so I can specify more information at the Default site.
Information above is good, but I don't know how to make this YourUserID=UserID connection.
Please explain.
Thanks
AD
|
|
|
 |
Rene S
|
| Posted: 02/13/2006, 3:00 AM |
|
Hi,
In datasource of your grid > Properties, Data, Data Source >
Rene
|
|
|
 |
|