Skip to main content

Notifications

Announcements

No record found.

Business Central forum

Manage user sessions in BC On Premise

Posted on by 1,690

With NAV we could manage user sessions in the Sessions windows.

How do we do the same in BC On Premise,  The window is no longer available?

Thanks!

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: Manage user sessions in BC On Premise

    Hi, you can use Session.StopSession(Integer [, String]) Method.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/session/session-stopsession-method

    pastedimage1634602845532v1.png

  • Elmarie Profile Picture
    Elmarie 5 on at
    RE: Manage user sessions in BC On Premise

    Hi

    I can view the page showing the active sessions, but cannot end a session from here.  Is this possible to do?

    we're using BC365 version W1 15.2 (on premise)

  • YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: Manage user sessions in BC On Premise

    Hi, you can force Business Central to run the Active Session table by adding the ?table=2000000110 parameter to the URL, such as in the following example: 
    http://localhost:48182/BC182/?table=2000000110

    pastedimage1625033519456v1.png

    pastedimage1625033540773v2.png

  • Patrici Huerta Profile Picture
    Patrici Huerta 15 on at
    RE: Manage user sessions in BC On Premise

    Hello

    I have BC 16 onprem, there isn´t a development enviroment.

    There is another way?

  • Perry Smith - CRi Profile Picture
    Perry Smith - CRi 1,690 on at
    RE: Manage user sessions in BC On Premise

    Thanks.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Manage user sessions in BC On Premise

    You can run the Sessions List page from the development 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans