web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to test security roles

(1) ShareShare
ReportReport
Posted on by 322
Hi. Do anyone have any tips for how one can test changes made to security roles? As for now, I work for a company where I only have one user. The problem is that the company hesitates to create another user for me, due to strict policies. This mean that I cannot log in with another user to test the security role. 
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,833 Moderator on at
  • Gaute K Profile Picture
    322 on at
    Using visual studio is not an option in this case. Is there another way to do it? 
  • Suggested answer
    NikolajSorensen Profile Picture
    1,814 on at
    There is no other way than to either get a test user or ask another user to test it for you, if you cannot use the VS option.
  • GirishS Profile Picture
    27,833 Moderator on at
    One option will be creating a dialog like form which will add the system administrator role to user from the back end.
    After security role testing you can run the dialog and it will add the system administrator role to the user.
    One thing to note is that the user must have access to the dialog form without system administrator role assigned.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    303,403 Super User 2026 Season 1 on at
    Hi Gaute,
     
    If there is another user with the security administrator or system administrator role, you can add the roles you want to test and remove your own roles. When you completed testing, you can ask your colleague to add your original roles back.
    You mentioned that this company has strict policies. I do assume correctly functioning of security roles would be then also important. Having a specific test user account is not a bad practice at all, also not for companies with strict policies. At least ensure that this test user will not be added as user in the production environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans