Skip to main content
Business Central forum

UserID Permission Set

editSubscribe (0) ShareShare
Posted on by 137


I am using the UserID in AL to default a user task to the current logged in user.

It works for me as I am an admin however it doesn't work for my users as they only have D365 Basic and Sales permission sets.

If I provide them with D365 Full access it works but for obvious reasons I don't want to do this.

What is the best permission set or what permissions do I need to add to my permission set to make this work for all users.

Thanks for any help in advance.


  • Verified answer
    Neil Phelan Profile Picture
    Neil Phelan 137 on at
    RE: UserID Permission Set


    I regenerated my permission set in AL for the extension and it seems to have solved the problem,  Thanks for the point in the right direction.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,978 Super User on at
    RE: UserID Permission Set

    Hi, If you are developing a feature, have you tried adding Permissions Property in your object?

    Also, if this is a standard feature, it needs to be available to the user on the page, so a new permission set needs to be created. For example, using the Record feature.

    Hope this will help.



  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,714 Super User on at
    RE: UserID Permission Set

    That is dependent of what objects is actually in use in the AL code that you want to run.

    You can f.ex. give your objects indirect permissions meaning that the data can be accessible in AL even though they are not directly access able  for the user that is logged on.

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,395 on at
    RE: UserID Permission Set


    I wish it was a clear guideline for that. My only suggestion is to record the permission set. See the following post. Basically create a new permission set. Then record and do the task you want to do and let system record it and create a permission set for you. This way you can use it as a starting point (for example to add those to Sales permission).

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans