Questions tagged [user-management]

Besides creating and assigning users, user management includes working with permissions and licenses, delegating users, and more.

Filter by
Sorted by
Tagged with
45
votes
4answers
28k views

Can I get my security token without having to reset it?

I need to get a user's security token but there are other things currently using it so I don't really want to reset it. Is there any way to retrieve this without having to reset it?
15
votes
1answer
3k 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 ...
11
votes
4answers
9k views

How to create an API only user

I want to create an "API Only" user but can't find the checkbox to do that. I can see "API Enabled" as one of the checkboxes on the profile and permission set pages but I think that's different. How ...
11
votes
1answer
9k views

Setting new user passwords in Apex

I have a method that creates a new user and sets a custom password, everything works fine to the point where I try to log in with the new user and get an error that the login details are incorrect. ...
11
votes
1answer
280 views

Why are my Portal Users sharing their usernamespace with the world in Spring '13?

At the same time as the rollout of Spring '13, I'm encountering issues related to High Volume Customer Portal Users: their usernames are now clashing with users in other orgs. I'm aware that Portal ...
10
votes
1answer
172 views

UserType - REST vs SOAP

I am noticing a difference in the "User Type" field returned from the REST UserInfo Endpoint (link) vs the SOAP getUserInfo() method (link) as follows: SOAP Standard PowerPartner REST STANDARD ...
9
votes
4answers
5k views

Is a User logged in

I need to build some logic that assigns leads to Reps that are currently logged in. How can I find with APEX if a user is currently logged?
8
votes
0answers
446 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)....
7
votes
2answers
3k views

Sys Admin lost access to community

When I configured community on my Org I removed System Admin (me) profile from Community Members (see the screenshot 1) So neither System Admin not anybody else can manage, modify or delete this ...
7
votes
2answers
7k views

Inactive users and User licence usage

This question has been bothering me for quite a while. I've always simply assumed, "deactivating users will not increase the number of available user licences". The help document says: A ...
7
votes
1answer
446 views

User's bcc-to-salesforce address via SOQL or API?

Is there a way to access, query, or update the following User preferences via the API or SOQL? The User's bcc-to-salesforce address I've looked for any reference to these in the Force.com IDE's ...
7
votes
5answers
3k views

Can users be stopped from editing their own user record?

Is there any way to restrict a user from updating their user details (first name, last name, email etc...)? Revoking CRUD access to the user object does not stop this. Currently users can navigate to ...
7
votes
1answer
3k views

Insufficient Privileges while impersonating an User in Salesforce

I have started to test my Managed app through different user Profiles. Manage User -> User_1 -> [Login] link near each user allowed me to impersonate any user Profile. This is a cool feature ...
6
votes
1answer
5k views

Best Practice: Type of license for API User

Our Salesforce environment has several API users to connect with various system. We didn't set them up with Streaming APIs (I would like to..), so they run at regular intervals. Because we want to ...
6
votes
1answer
608 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 ...
6
votes
1answer
2k views

Prevent Username from being logged into multiple sessions and/or IP addresses Concurrently

Has anyone fielded a request to prevent a username from logging into multiple sessions at once? The problem is that currently Salesforce does not have declarative way of preventing logins, of the ...
5
votes
1answer
7k views

Permission for internal users to manage external users

I am trying to allow people in support to provision new customer portal users (We haven't switched to communities yet). When I go to the contact record I see the 'Manage External User' button, but ...
5
votes
2answers
1k views

Prevent Salesforce users from “seeing one another”

I have created an app which two different user profiles have access to. I do not want users from profile A to interact with users from profile B. How can I ensure that users from different profiles ...
5
votes
1answer
2k views

Change Salesforce license to Chatter Free / Chatter Only User

By mistakenly I created a user as Salesforce Licensed User. Now I need to delete/change the license, which i tried change but couldn't. Is there a way to change since we cannot delete a user?
5
votes
2answers
986 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 ...
5
votes
1answer
7k views

How do I set another user's security token as an admin?

I am trying to set the security token of an API user (with insufficient privileges to do just about anything in the GUI, including enter the "Personal Information" section where users typically reset ...
5
votes
3answers
7k views

Avoiding the password notification to be sent to the User on creation

When i create new user through salesforce UI i dont want the password notification to be sent to the User .Is this possible ?I know one solution is to uncheck the generate Email Notification and new ...
5
votes
2answers
1k views

Disable User In All SF Environments/Orgs (Production and Sandbox)

Anyone know of a clever way to disable users who's left the company in all Orgs? In our particular case, one Production with several Sandboxes. The closest I can come up with is to perhaps grab ...
5
votes
1answer
849 views

How to reactivate a user with success?

Once you deactivate a user, all it's groups relations and teams - are deleted. Is there a way that once you reactivate it, he will be returned to the groups he once was in?
5
votes
1answer
7k views

Salesforce Email are not received by recipient

I have a Salesforce org. Email address in Org is xxx.xxxx@domain.com 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
2answers
1k views

“Administrators Can Log in as Any User” - Customized

We have more than one system administrator in our org. They are categorised by assigning them different profiles. I want the feature "Administrators Can Log in as Any User" in such a way that Users in ...
5
votes
2answers
905 views

Create Self-Service User automatically

I'm looking to automatically create a self service user ("Production" field on the opportunity layout is set to true), the lookup field to the contact is also on the opportunity layout. the new user ...
5
votes
0answers
44 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 ...
4
votes
2answers
7k views

how to change email of user in sandbox to something like .sandboxname?

I tried to change an user's active email in my sandbox(Sandbox name:stage) as they didn't want to get further notifications for the actions that we are doing in our environment from : abcd@gmail.com ...
4
votes
2answers
2k views

How to remove permission sets from a package

We created some permission sets to include with our managed package. However, we have now realized that it isn't the best approach since not all orgs can use permission sets. However, we cannot find ...
4
votes
2answers
2k views

Can a Workflow Rule be created against a User Record? i.e. send an email alert to their manager once the record is deactivated?

We would like to have an email alert sent to the manager of the departed employee once the user record is deactivated. In that email, we would like to include a link to all that employee's open ...
4
votes
1answer
2k views

How to delete a permission set from multiple users?

Please let me know the steps to delete a permission set from 3500 users
4
votes
1answer
160 views

Managing Access for Test and Staging Org for ISV

As an ISV with I expect to have several types of orgs during my development process. Each developer will have it's own Partner Development Org There will be a Test Enterprise Org (created via Partner ...
4
votes
2answers
279 views

Is there a way to access all user info?

Is there a way to get a drill down through DB/reports all the info related to an user like permission set sharing settings active/inactive( I can get this by Isactive filter) what public groups he/...
4
votes
1answer
2k views

Usage of Alias and Community Nickname

May I know what are the usages of Community Nickname and Alias fields? Where are they used effectively? Also, Community Nickname is unique but not Alias. Thus, 2 users can have the same alias. Is ...
4
votes
1answer
500 views

Salesforce manage community users without managing other users

My requirement is to allow a user with a "Standard User" profile (Salesforce License) to create a community user. To do this I need to give the user "Manage User" permission. But doing this the "View ...
4
votes
1answer
581 views

SOQL Query Problems with different profiles

I am running a SOQL query through REST API. The entire process flows as follows: Whenever user tries to access our site from Salesforce I retrieve the Salesforce Session ID through SAML. With the ...
4
votes
0answers
51 views

Force.com Site and custom user authorization - Is it allowed and when? [duplicate]

Assume I am going to build a customer facing website where users have some access to Salesforce Standard and custom objects. Because it's expensive I don't want to give them Salesforce licenses. I ...
4
votes
1answer
394 views

Is there any way to change definition of default user created for scratch org? [duplicate]

Is there any way to change definition of default user created for scratch org? I would like the default Administrator user to have properties UserPreferencesUserDebugModePref ...
3
votes
3answers
19k views

How many standard profiles do we have in salesforce?

Hi I have a developer org and in that I have observed different set of 18 standard profiles while http://ap1.salesforce.com/help/doc/en/standard_profiles.htm link demonstrated another set of 18 ...
3
votes
2answers
3k views

How do I skip the security question in Salesforce?

I had a user whose email address has been changed to another user. Now the new user gets an email to change the password along with the security question of the previous user. How can I prevent the ...
3
votes
2answers
11k 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 ...
3
votes
1answer
2k views

Re-ownership of scheduled job from managed packages

One of my orgs has a managed package in it, and was installed by a previous user, who has now been deactivated. Firstly therefore, this means I notice that on the package detail page, it is "Installed ...
3
votes
2answers
3k views

Permission set update error

My application is Managed package. I have edited permisiion set , while am updating the following error message is displaying.. Permission Download AppExchange Packages depends on permission(s): ...
3
votes
1answer
154 views

Impact of Freezing SF User - scheduled jobs, reports, oauth tokens

We are going to do one big release (deployment, configuration, data load) in our prod org and need to have some sort of maintenance window to prevent users from interacting with SF org. Freezing all ...
3
votes
3answers
957 views

User Mass update

I want to mass update username and email address for 4000+ users, and want to make sure that their username gets updated. There's only two ways to update username: If User go to link prompted by ...
3
votes
2answers
305 views

Why users cannot be deleted in salesforce?

Why users cannot be deleted in salesforce? As a lot of junk data will available in database as inactive.
3
votes
1answer
1k views

Getting user info when logged in as another user

Is there a way to identify / get the user Id of the actual user who is logged in as another user using the login as button? The best I can do today is to run the audit trail which gives info on who ...
3
votes
2answers
2k views

Can the User's Last Login date be used in a formula?

I need to calculate the LastLoginDate - Created Date of Users in a formula field. The Last Login Date field is not available here.. Is there a way to get it without having to write code/SOQL?
3
votes
1answer
566 views

User's Dashboard assignment via API or SOQL?

Is there a way to access, query, or update the following User preferences via the API or SOQL? The Dashboard assigned to the User's homepage I've looked for any reference to these in the Force.com ...

1
2 3 4 5