Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 member level
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

skylar
Starting Member

23 Posts

Posted - 19 April 2001 :  02:31:17  Show Profile
How can you check to see If a member is a moderator, admin, or just a normal user in an ASP page. like:

checkuserlevel(membername)

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 April 2001 :  03:35:10  Show Profile  Visit HuwR's Homepage
see this topic
http://forum.snitz.com/forum/link.asp?TOPIC_ID=6742

Go to Top of Page

skylar
Starting Member

23 Posts

Posted - 19 April 2001 :  03:54:24  Show Profile
Perhaps I worded it wrong. I know what member level is, but is there a way to get it? For example, getmemberID(membername) will get the membername's ID. I want to get the members level...any ideas?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 19 April 2001 :  12:08:55  Show Profile
If you look in your inc_top.asp page, you will see this bit of code:
mLev = cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))
That code gets the member level and stores it in the "mLev" variable. So you can just check what "mLev" is.

0 - Not logged in
1 - Author of post
2 - Normal User
3 - Moderator
4 - Admin

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07