Hi,
How can I retrieve the user's access level in JavaScript?
#nu_access_level# doesn't exist anymore.
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
[JavaScript] User's access level Topic is solved
Re: [JavaScript] User's access level
toms,
Here you go, I just added this nuAccessLevelCode()... http://wiki.nubuilder.net/nubuilderfort ... sLevelCode
Steven
Here you go, I just added this nuAccessLevelCode()... http://wiki.nubuilder.net/nubuilderfort ... sLevelCode
Steven
-
- Posts: 11
- Joined: Wed Jan 17, 2018 7:06 pm
Re: [JavaScript] User's access level
Hi,
Superuser: console.log(nuAccessLevelCode()); -> ""
User: console.log(nuAccessLevelCode()); -> Null
when I use the Superuser i get the expected result, however if I use one of my users accounts I just get Null instead of the AcessLevelCode.
Any Idea why I do not get the expected result?
Thank you
Moritz
Superuser: console.log(nuAccessLevelCode()); -> ""
User: console.log(nuAccessLevelCode()); -> Null
when I use the Superuser i get the expected result, however if I use one of my users accounts I just get Null instead of the AcessLevelCode.
Any Idea why I do not get the expected result?
Thank you
Moritz