presented by vishy grandhi. lesson 1: role based security lesson 2: setup new user recipes

15
AX 2012 Development Training Presented by Vishy Grandhi

Upload: britton-craig

Post on 31-Dec-2015

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

AX 2012 Development TrainingPresented by Vishy Grandhi

Page 2: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Lesson 1: Role based security Lesson 2: Setup new user Recipes

Training Outline

Page 3: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

At the end of this lesson you will have an understanding about◦ Role based security◦ Roles assignment to users

Role based security: Objectives

Page 4: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Role based security : Hierarchy

Page 5: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Role based security : Example

Page 6: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Entry Points Permissions Privileges Duties Roles

Role based security : Definitions

Page 7: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Menu items Web content items Service operations SSRS reports

Role based security : Entry Points

Page 8: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Process cycles are used in rich client to make it easier for a system administrator to view and find related duties when setting up security.◦ Conversion cycle◦ Cost accounting cycle◦ Expenditure cycle◦ Human capital management cycle◦ Information Technology cycle◦ Revenue cycle

Role based security : Process Cycles

Page 9: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

At the end of this lesson you would have a good understanding of the following◦ Setup a new user◦ Assign the user appropriate role◦ Modify roles, duties and privileges

Setup new user: Objectives

Page 10: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Recipes: List of recipes

The following recipes are included in this presentation4a. Create a new privilege and duty for your form4b. Assign your duty to a process cycle and role4c. Create a new user4d. Assign role to a user

Page 11: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Recipe 4a: Create a new privilege and duty for your form1. Start

2. Let’s assume you created a new form called SpeciesForm and a new display menu item called SpeciesMenuItem

3. Open Microsoft Dynamics AX development workspace (Ctrl + Shift + W)

4. Right-Click on AOT->Security->Privileges and select New Privilege menu

5. Rename your privilege SpeciesPrivilege

6. Right-click the node Menu Items->Display->SpeciesMenuItem and select Open New Window

7. Drag the menu item SpeciesMenuItem to the Entry Point node under your privilege SpeciesPrivilege

8. You should have an entry under the Entry Point node called SpeciesPrivilege . Select this node and check properties (F4)

9. In the Properties Window select the property AccessLevel and change the value to Delete

10. Right-Click on AOT->Security->Duties and select New Duty

11. Rename your duty to SpeciesMaintain

12. Drag your privilege SpeciesPrivilege to the Privileges node under your duty SpeciesMaintain

13. Finish

Page 12: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Recipe 4b: Assign your duty to a process cycle and role1. Start

2. Let’s assume you created a new duty SpeciesMaintain

3. Open Microsoft Dynamics AX development workspace (Ctrl + Shift + W)

4. Right-Click on AOT->Security->Duties->SpeciesMaintain duty and select Open New Window

5. Expand the Process Cycles node (Under AOT->Security) and select the process cycle to which you want to add your duty.

6. Drag the duty SpeciesMaintain to the Duties node under your process cycle

7. Expand the Rolesnode (Under AOT->Security) and select the Role to which you want to add your duty.

8. Drag the duty SpeciesMaintain to the Duties node under your role

9. Finish

Page 13: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Recipe 4c: Create a new user

1. Start

2. Open the Microsoft Dynamics AX client.

3. Open the Users form. System Administration > Common > Users > Users.

4. Click New > Import in the Action Pane.

5. Click Next.

6. Select the domain name contoso.com.

7. Enter Vishy for the first name.

8. Click Next.

9. Click Select all.

10. Click Next.

11. Click Next.

12. Select only System User and Employee roles.

13. Click Next.

14. Select Accounts receivable administrator profile in Same profile in all companies. This defines Vishy's role center.

15. Click Next.

16. Click Finish

Page 14: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

Recipe 4d: Assign role to a user

1. Open the Microsoft Dynamics AX client.

2. Go to System Administration > Common > Users > Users.

3. Double-click Vishy Grandhi in the grid to edit his record.

4. Click Assign roles in the User's role section of the form.

5. Select Accounts receivable manager and click OK.

6. Finish.

Page 15: Presented by Vishy Grandhi.  Lesson 1: Role based security  Lesson 2: Setup new user  Recipes

We have looked at Role based security in AX We explored the different security elements Finally we created a new user and assigned

him/her roles

Summary of Training