Questions tagged [user-management]
Besides creating and assigning users, user management includes working with permissions and licenses, delegating users, and more.
257
questions
3
votes
1
answer
551
views
Query "can I login as" for users
Is there an API or other technique to understand whether the current user has been granted access to "login as" another given user?
...other than optimistically trying?
Thanks
0
votes
1
answer
2k
views
Users who can/cannot be assigned Permission Set
We wont be able to add "Permission Set" to all the users (or with a particular userTypes). Like we cannot add "Permission Set" to a UserType - "Guest" or a community User.
I'm trying to assign a "...
0
votes
1
answer
201
views
User Look up field on Contact object
I have a User lookup files on Contact object for reporting purpose. But I can't see 'Customer Community login users' through that lookup field. But I can see Salesforce and platform license users. ...
1
vote
2
answers
4k
views
Apex code to update email IDs after sandbox refresh
Please help me how to write apex code to update the user's emails id with apex class which can be run after sandbox refresh.
global static void run() {
List<User> userEmailList = [select ...
0
votes
1
answer
5k
views
SOQL to get LastLogin of user who is contact for an Account
Am new to apex development. I have worked as admin. In account there are internal contacts and external contacts, external means customer will add a contact to account by just giving name and email ...
2
votes
1
answer
5k
views
Customer community user's role hierarchy based on account hierarchy
We have setup a community using customer community plus user licenses. There is a requirement to setup data visibility according to account hierarchy. I have following type of account hierarchy -
-...
1
vote
1
answer
988
views
Marketing Cloud Users not Integrated to Salesforce
I understand that in order to connect Sales Cloud to Marketing Cloud you need to setup Users in both systems and integrate them in order for data to transfer between systems.
However, outside of ...
1
vote
1
answer
169
views
Community Only User
We are making a community for our customers. Users are provisioned during SSO. BTW, users should be Community Only. I.E. should not have access to real SF application or edit existing settings. For ...
0
votes
1
answer
996
views
How to query how much file attachments space is used by User
I have an requirment where i would like to know the current limit used by User for File Attachment and send it as csv files to the buisness. I am not finding a way where i can see fetch that space ...
1
vote
1
answer
2k
views
Manage External User button from Lightning Experience
With Winter 18, Salesforce has provided the ability to Manage External users from Lightning Experience.But, I don't see the Manage External User button on Lightning Experience.
I did go through below ...
0
votes
1
answer
2k
views
Check How Many Times Community Password Has Been Reset Within Last 24 Hours for a User
I have a customer community which uses a custom lightning login page. We have our own email templates for resetting a password which has all been taken care of. Now, Salesforce has a reset password ...
0
votes
1
answer
157
views
How to assign a Specific Record Type for a Particular User using Permission Set?
I'm trying to assign a specific record types for a particular user and i've assigned the Permission Set to that User But i didn't find any changes in the user Side it's Still showing the Savings ...
1
vote
2
answers
2k
views
Trying to limit users who have "Manage User" permission
We are trying to achieve a profile that is a step down from the traditional System Administrator that in a nut shell has the Manage User permission and Modify All Data, but does not have Customize ...
1
vote
1
answer
2k
views
How to get the user logged in in community page?
I need get the user id logged in a web page community site.com (not is a VisualForcePage) in this page I need the user id and others user's fields.
0
votes
1
answer
261
views
SCIM User create defaults for Timezone and EmailEncoding
If i create a user using the SCIM Rest APIs and don't populate timezone, it defaults to Pacific time.
Since email encoding isn't a supported value in the schema, it always defaults to UTF-8.
Does ...
0
votes
2
answers
1k
views
Can "Login Access Policies" be applied to profiles other than the System Administrator?
System administrator Profile users can have the privilege of logging in as any user in salesforce. Can the same be achieved for users of some other custom profiles?
6
votes
1
answer
22k
views
Salesforce Email are not received by recipient
I have a Salesforce org. Email address in Org is [email protected] and domain is a company name hosted on gmail.
When I try to send email(Using apex or standard "Send email" button from objects) to ...
5
votes
0
answers
92
views
Are usernames freed when a sandbox is deleted?
I know that usernames a very sticky in Salesforce, and they can't be duplicated across orgs or deleted under normal circumstances. However, what happens to a username when a sandbox it's a part of is ...
1
vote
4
answers
232
views
Which permission or Setting required for allowing facility to user to login from any iP Range in Salesforce Org?
I created a new org where I can see a button Allow All Ranges(!).
But for the orgs that I am working earlier or in the recent org that I created now does not have this feature, can somebody please ...
5
votes
2
answers
2k
views
How do I prevent Apex-created users from having to change password on first login?
I have Apex-code which generates new user accounts, and it specifies a user-provided password for the account.
On first login the users are prompted to change the password, which is a painful extra ...
1
vote
1
answer
288
views
Apex Based User Admin - Remove One-Time Password Generator
We are establishing a SF Community and Requiring Community Users to have two factor authentication. We have an Apex Batch that creates new Users, deactivates Users who no longer have assignments that ...
4
votes
2
answers
15k
views
Creating a Community User via Apex from a Contact
We are rolling out a community for our customer base and I am attempting to create an Batch Class to create and activate OR deactivate Community Users based on when they have been deemed to be active ...
1
vote
0
answers
111
views
Even Administrators Can Log in as Any User is enabled ,still not able to see login option
My profile is System Administrator and i enabled Administrators Can Log in as Any User is enabled but still i cannot see login option for any user
2
votes
1
answer
2k
views
Does the Last Login Date become blank after a user hasn't logged in for 6 months?
Two part question here actually.
Does the Last Login Date standard Salesforce field become blank if the user hasn't logged in for 6 months? Salesforce only retains login records for 6 months but I ...
1
vote
0
answers
42
views
which salesforce edition should i purchase and which licenses?
I am new to salesforce and my clients wants to implement salesforce for maintaining their clients, they want basic functionalities so which edition should i suggest?
For example i have 5 sales ...
2
votes
2
answers
3k
views
Can a user with a Salesforce Platform license create custom objects?
Is a user that has a Salesforce platform license able to create custom objects? I understand that they can access a certain amount of custom objects, but if they are not at the limit what is ...
0
votes
1
answer
1k
views
How to change Salesforce User Interface theme?
How can I change Salesforce User Interface theme? Specifically I want to change the value returned by the UserInfo.getUiTheme() method. There doesn't seem to be a corresponding field on the User ...
0
votes
2
answers
54
views
"Toggling" Salesforce User Licenses?
We had some old admins accidentally move some data around and it changed the values in a User Lookup on one of our custom objects.
I can recover the history of the field, but a lot of the users are ...
6
votes
1
answer
1k
views
Does Site.createPortalUser work in a sandbox?
I have a problem in production where, when users activate their account via Site.createPortalUser, instead of the User being linked to the existing Contact a new Contact is created. (Any advice on ...
1
vote
1
answer
2k
views
Resetting passwords for community users!
We have a batch apex class that resets passwords for community users created by another process. One of our user requirements is to store the initial password in a custom field.
The user will get ...
18
votes
1
answer
6k
views
Is Username Globally Unique?
I was under the impression that the Username field on the User object is globally unique. In other words, even if a value is used in some other instance, that means I cannot create a User record with ...
1
vote
1
answer
717
views
Assign license to multiple users
I have read several posts but not able to get the exact answer. I am creating a recruiting demo app in which there various profiles like:
Recruiter
Hiring manager
Interviewers
I need to create users ...
0
votes
1
answer
25
views
Organization Profile Newsletters
Organization Profile Settings - Newsletters
The last I knew, you verified per User if they get any Newsletters.
Today, I was notified some of our users are getting the non-Admin Newsletter, so I ...
2
votes
0
answers
188
views
Report on which users have granted login access to Administrator
I know how to grant login access to administrator/salesforce. What I want to know is in which object is this setting stored? I want to do reporting on all the users in my org who have granted access ...
1
vote
0
answers
885
views
No email notification when Username is changed for Community User
When I change the username of the Community user ( any community license) from user record page in SFDC , I don't see any email notification from salesforce sent to the user notifying of username ...
5
votes
3
answers
19k
views
How can I delete a contact which was associated with a customer portal user?
When I try to delete a contact I get the error:
Your attempt to delete CONTACT NAME could not be completed because it is associated with the following portal users
When I click into the portal user ...
1
vote
1
answer
740
views
Automatic deactivation of terminated Users
I would like to set up a system in which we can automatically de-activate a User account for a terminated employee. As it is now, our HR notifies us of a termination through an email and we inturn ...
10
votes
0
answers
741
views
Trigger on UserPackageLicense object?
I have a requirement for a managed package that we are developing. I need to make an API callout to an external system when user is assigned to the package (hybrid package on user based pricing model)....
1
vote
2
answers
2k
views
Hide Login Button from User Detail Page
I just wanted to know if the below requirement is possible or not
I want to hide the Login button from my user detail page so that anyone will not be able to login as my user.
Could you please let ...
1
vote
1
answer
3k
views
ExactTarget | Quering users from multiple Data Extensions
I'm trying to get a query on several fields that are in 2 Data Extension Tables (the matching content is SubscriberKey). I'm familiar with SQL, but I used it primarily creating lists in Oracle's ...
3
votes
1
answer
7k
views
"Your account has been disabled" error message
Recently while completing a Trailhead exercise I noticed when attempting to assign a Permission Set to a user I was receiving this error message.
"Your account has been disabled". Your company ...
1
vote
0
answers
148
views
Question on permission needed to add users (at least partner users) to public group
I have created a delegated administration that allows a full salesforce internal user to create public groups. They can add roles, and other public groups to existing public groups, and ones they ...
1
vote
0
answers
47
views
JIT provisioning and Service Cloud User
We've set up JIT provisioning for portal users (mostly internal), and the process is working smoothly. The only thing left that needs to be set by JIT provisioning is "Service Cloud User".
I checked ...
3
votes
1
answer
3k
views
Test Class - Set LastLoginDate on test user
Anybody know how to set the lastlogindate field on User for a test class?
Here is my scheduled apex class. I need to create a user with a lastlogindate more than 60 days ago in order to get 100% ...
2
votes
1
answer
5k
views
SOQL - UserLogin relationship from User
I am trying to check if a user is frozen but i can't figure out the relationship query. It seems like one doesn't exist even though there is a lookup. This older post hints at it but I can't figure ...
1
vote
0
answers
80
views
Is there any downside to changing the email address of the APIOnly user?
I'd like to change the email address on the APIOnly user I set up from a specific person to the org's generic 'info@' address. Will this harm any of my integrations (primarily Form Assembly) in any ...
0
votes
1
answer
5k
views
"Insufficient privileges" error when trying to access visualforce page
We developed a visualforce page and tested it with a System Administrator account and it works fine. Now we created a new "Standard User" account and try to access the same page and get this error:
...
0
votes
1
answer
52
views
How to show user only part of records?
I have user profile named SimpleUser, and sObject Account
How to show only part of records from Accounts for this user?
Criteria for this value of record from another sObject related to Account and ...
0
votes
1
answer
109
views
How can I grant specific administrative privileges without granting view/modify all data?
How can I restrict a user to do only the following activities?
User maintenance - Create Users, Deactivate Users, Change Permissions, Change Role in hierarchy, Update Name, Federation Id, and other ...
2
votes
1
answer
44
views
Metrics on most accessed standard tabs
Is there anyway to gather metrics on most accessed tabs..Just wanted to know what tabs are accessed most by the users. I see salesforce has event monitoring and not sure that would help..I wanted to ...