|
-
Jan 10th, 2006, 12:28 AM
#1
Thread Starter
New Member
user identification
I’m using v1.1 framework and asp.net v1. Do I need to connect to the database to retrieve data first? How to do it?
How do i know that the user role in my database? What coding need to put?
The database is sql server 2000. There are three fields in the database, simply userid, password and role
help me coding this part
if User.IsInRole("Administrator") then
' Display......
ElseIf User.IsInRole("ModerateInfo") then
' Display.......
Else
' Display....
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|