Sonia
|
| Posted: 06/24/2002, 1:09 PM |
|
Hi,
I am trying to add a custom welcome message at the top of my page like
Welcome User: "LoginName", Your access level is "AccessGroupID". This page is accessable when a user is successfully login.
Fields "LoginName" and "AccessGroupID" are in User's table. I am using ASP 3 and CCS 1.0, Could somebody please tell me how and where to put the code to get the above result...
My table name is Users and I know that there are functions available like CCDLookup OR CCGetUserID, but I don't know how to use them.
thnx! Sonia
|
|
|
 |
Nicole
|
| Posted: 06/26/2002, 1:10 AM |
|
Sonia,
Drag Label field from ToolBox window-> Forms tab to the top of the page. To assign it Welcome message create Before Show file event like:
ASP
<field_name>.Value = "Welcome User " & CCGetUserLogin() & ", your access level is: " & CCGetGroupID()
|
|
|
 |
|