LeSteelBox
LeSteelBox

Reputation: 435

MSCRM 2011 Create a new user record using a dialog process

Goal: Create a dialog process that allows the end user to create a NEW user record (by entering their user name, first name, last name), and assign them to a "pre-made" security role.

Is this possible? It should be an extremely easy thing to do.

Here's what I'm currently doing:

Create process >> Category: Dialog >> Add "Create Record" step" >> THEN when I go to select the User entity it is not in the drop down list. Even my custom entities appear but not the User entity.

What's up Microsoft? Am I missing something?

Upvotes: 0

Views: 726

Answers (1)

Guido Preite
Guido Preite

Reputation: 15128

You can't create a User with the standard step of a Dialog/Workflow.

However if your CRM environment is On-Premise you can try to write a Custom Workflow Activity to create the user and use it inside the dialog process.

You can refer to these two links:

MSDN - Sample: Create an On-Premises User

MSDN - Create a Custom Workflow Activity

Upvotes: 1

Related Questions