Consider
a scenario where you have created a Visualforce page and Controller. You want
to restrict the controller action for users which are logged in usin g “Grant
Login Access”. How to acheive this
When System admin logged in
on the behalf of any other user. On upper right corner message is displayed
that user is logged-in on behalf of some other user. In Visualforce page we can
search for the element with class name present or not? If the element with that
Class name exist means logged-in user is not a actual user.
To grant login access there
is two methods, depending if you are a System Administrator or if you are any
other type of user:
System Administrator:
Depending on your
organization the Setup button will be beside your name at the top right of the
page or listed as a drop down option when you click on your name.
1 - Choose one of the
following
Non-Enhanced Setup Menu -
Setup | My Personal Information | Grant Login Access.
Enhanced Setup Menu - Your
Name | My Settings | Personal | Grant Account Login Access
2 - Set the access expiration
date for salesforce.com support (usually 7 business days).
3 - Click Save.
All Other Users:
1 - Choose Your Name | My Settings
| Personal | Grant Account Login Access.
2 - Set the access expiration
date for salesforce.com support (usually 7 business days).
3 - Click Save.
Once you have granted login
access, please send confirmation to the Salesforce Support rep who is working
with you, along with any requested information.
No comments:
Post a Comment