Saturday, 15 April 2017

how to find whether the user logged in is an admin or standard user using Node Js

I am developing a Web Application which needs to verify whether the logged in user is an Admin or standard user?

I requires the logic as below.

if(Logged in User is present in Administrator Users group) { "User is an Administrator" } else { "User is not Administrator or Standard user" }



via New_Developer

No comments:

Post a Comment