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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Is there any option that I can reserve 10 users for finance and the remaining for others. or is there any possibility to customize this requirement in NAV 2017.

(0) ShareShare
ReportReport
Posted on by 405

I have 20 Licences shared between my team finance users and service center users.

Is there any option that I can reserve 10 users for finance and the remaining for others. or is there any possibility to customize this requirement in NAV 2017.

*This post is locked for comments

I have the same question (0)
  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Licenses are for concurrent users, no need to bind a license to a role.

    You could check on codeunit 1 the team of the user (maybe with a custom field placed in the User Setup), then checking the Active Session table and managing the login accept or reject as you want.

  • santarzan Profile Picture
    405 on at

    Hi Stefano,

    But this logic will restrict the Particular user to log in.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    If your requirement is to reserve 10 licenses for finance and 10 for the others, in codeunit 1 when user A (department Finance) connects to NAV, you can check the Active Session table and count how many Finance users are connected to the system. If > 10 then rejects the login, otherwise login is ok.

    It could be a possible solution...

  • Suggested answer
    RockwithNav Profile Picture
    8,625 Super User 2025 Season 2 on at

    Why to make it so complicated, instead of this why not to kill the session of idle users or the one who want to kill?

  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    The problem here is not killing a particular session, but having a way to reserve 10 licenses to users of a particular department. So, 10 finance users can connect, the 11 finance user must be automatically killed while a sales user must be admitted.

  • Suggested answer
    RockwithNav Profile Picture
    8,625 Super User 2025 Season 2 on at

    Do you think that's logical to kill any of the users session automatically without letting them know and without even anticipating how intense processes they have been enrolled with.

  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    No kill other user's session, but avoid this user to login if the maximum number you want for department is reached.

    Example:

    I'm a user of the Finance department. My sysadmin set that maximum 10 users of the Finance department can be connected to NAV simultaneously. Now there are 10 users connected and I'm out of NAV.

    When I try to connect to NAV, the code checks how many users of my department are connected --> 10 users --> I can't login to NAV (I receive a custom message)

    When connected Finance users are (for example) 9:

    I login to NAV, the code checks the sessions for departments --> 9 users --> my login is OK.

    I don't know if I'm clear, sorry... :)

    This is a standard scenario for example in healthcare, our NAV addon does this. No user's session are forced to be disconnected, obviously.

  • Suggested answer
    KaryaNavTech Profile Picture
    239 on at

    hey stefano,

    This is exactly What we want to perform. But can you suggest is their any inbuilt functionality in standard Nav to check who all are working in a specific Department ex: Finance.Or Any Customization that can be done regarding this in Nav. It seems you have an add-on to perform this functionality. Please suggest.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    No, there's no native function for this in NAV. You've to implement your custom function and use it from Codeunit 1.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans