Your message has been sent.
This article has been saved to your account.
Go to my account
This article has been emailed to your Kindle.
Send this article
Complete the form below to send this article, Adding a security role, to a friend (or to yourself). We will never share your details (or your friend's) with anyone. For more information, read our Privacy Policy.
In this article by Ahmed Mohamed Rafik Moustafa, the author of Microsoft Dynamics AX 2012 Security How-To, we will learn about securing our Dynamics AX 2012 environment with simple and practical steps.
(For more resources related to this topic, see here.)
Getting ready
Before getting involved with the steps required to add the security role, we need to understand the concept of the security role itself and other, related security terms.
We have to consider that every organization has its own security policies; these policies are followed by the employees according to their roles and responsibilities in the organization. Every person has a role or different roles that contain duties, and also a process cycle that he/she must follow to complete his/her tasks. So it is the same business concept used in Microsoft Dynamics AX.
The following screenshot illustrates the hierarchy of the security concept within Microsoft Dynamics AX 2012:

-
Security policy: This is a set of security roles that control the working environment
-
Security role: This represents the scope of work for every person in the organization
-
Duties: These are responsibilities to perform tasks for a specific business objective or process cycle, and they contain a set of application access privileges
-
Privileges and permissions: These are a group of access rights granted to the users that require them
How to do it...
The following screenshot shows the security role form; on the left-hand side of the form, you will find a list of all the predefined security roles, and if you select one of the security roles, you will notice the related information at the center of the form. You can also drag-and-drop the security roles from the left-hand side of the form, into the Name field.

We are going to take a look at the steps to add a security role:
-
Go to System administration | Setup | Security | Security roles.
-
In the upper left-hand corner of the security roles form, click on New.
-
Enter the required role in the AOT name field.
-
Enter the name of the role in the Name field.
-
Enter a description for this role in the Description field.
-
Click on the Add button at the center of the form.

-
A new window appears; change View by field to Role to view the list of roles from the drop-down list.
-
You can type the role's name in the Find field to search for it.
-
Mark the selected role required by checking the checkbox on the left-hand side of the role name.
-
Click on Close to close the form and return to the main form.

-
You will notice that the role has been added to the Role center section on the main screen.
-
Click on Close to close this form.
How it works...
We interacted with the Application Object Tree (AOT) by entering the role name in the AOT name field without interacting directly with the AOT, so the changes we made to the role form will also be made to the role node on the AOT.
There's more...
You can add a sub role to an existing role with the drag-and-drop function.
-
Open the security roles form.
-
On the left-hand side of the window, click on the existing role desired, which is Budget clerk in this case.

-
Again on the left-hand side of the window, click-and-drag the required role and drop to the existing role Accountant in this case.
-
You will notice that new roles have been added to the Role center section in the form.
-
Click on Close to close the form.
Summary
This article has explained us the interaction of the user with AOT to understand how to add a security role and make the necessary setup.
Resources for Article :
Further resources on this subject:
- Working with Microsoft Dynamics AX and .NET: Part 2 [Article]
- Integrating with Microsoft Dynamics AX 2009 using BizTalk Adapter [Article]
- Setup and Configuration of the Workflow for Microsoft Dynamics AX 2009 Administration [Article]
About the Author :
Ahmed Mohamed Rafik Moustafa
Ahmed Mohamed Rafik Moustafa is an Egyptian professional ERP consultant/trainer for Microsoft Dynamics ERP products, specializing in Microsoft Dynamics AX 2009/2012, Microsoft Dynamics Great Plains GP 9.0/10.0, and Microsoft RMS. He also has experience in technical skills such as SQL, SQL Server, SQL Reporting Services, and Crystal Report. He has led various implementations in diverse ERP Modules over the Middle East in different Arab countries to meet and exceed challenging business needs such as Financial Management, Inventory Management, Purchase Management, Sales Management, Project Accounting, Human Resource, and Customer Relationship Management.
His professional career, spanning more than 8 years, has combined expertize in business management, finance, and information technology in different industries. Success in ERP projects depends on the people who use the ERP system and also the consultant team who implements the ERP system. In addition to his exceptional communication skills, he has a special talent for bringing out the best in others, especially with his team members by instilling in them a high level of motivation.
When he isn't focusing on his career, Ahmed enjoys his favorite sports such as football, swimming, and tennis. He is also a good piano player and as you can see, he tries to keep a balance in his life through his diverse interests because he enjoys living life with joy and passion.



Post new comment