Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IS_MEMBER giving wrong results

Status
Not open for further replies.

sunila7

Technical User
Apr 11, 2001
1,087
US
Hi,

I am using Is_member function to determine wether a user has permissions to a particular role.

I have a role called Adminstrator and a user is a member of that role.

when i give the System Admin and Security Admin roles to this user, is_member returns a zero for Administrator role.

if i remove this 2 (System Admin and Security Admin ) roles for that login, it returns the right values i.e 1.

Any suggestions on this will be greatly appreciated

Thanks
Sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top