Skip to content
Loading
Add dropdown only Admin when add user otherwise not visible asp.net
+2
  • Laxmidhar Sahoo
    Hi
     
    In which page and where want to put this .Can display some code and your implemented logic
     
    Thanks and regrds 
    +2
  • hi Rajkiran Swain
     
    Basically i have given Id to Admin = 1.. so my point is when admin add user dropdown is visible to Register Page otherwise not visible. 
    +2
  • Rajkiran Swain
    You have to check the User role based on login user. If user is belong to admin group then Show the dropdown else hide the droupdown. 
     
    This is my understanding. If your requirement is different please let me know. I am ready to help you on this.  
    +2