ArcherPoint Dynamics NAV Business Central Developer Digest - vol 301 Suzanne Scanlan Fri, 07/10/2020 - 05:15

ArcherPoint Dynamics NAV / Business Central Developer Digest - Vol 301

ArcherPoint Dynamics NAV and BC Developer Digest Blog

The Dynamics NAV and Business Central community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of  sharing helpful information with one another to help customers be more successful.

As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media...so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV/BC experts and devotees around the world. We hope these insights will benefit you, too.

How to Check User Permissions on Objects in Dynamics 365 Business Central

Stefano Demiliani and others have noted that, with the refactoring of Business Central to better support the SaaS offering, it is more difficult to find user permissions on specific objects. He shares with us the Effective Permissions Mgt. codeunit and the method to use to make this information visible once again.

Find Out How Many Users are Connected to Business Central with PowerShell

Kyle’s Developer Tip of the Day: “How many people are connected to BC? PowerShell to the rescue!  

$dt = New-Object System.Data.Datatable 
dt = Get-NAVServerSession -ServerInstance BCProd 
Write-Host $dt.count 

Or you can just get a list with detail:

Get-NAVServerSession -ServerInstance BCProd”

Jon notes: “Bloggable” 

Kyle adds: “I improved it a little. This will count the number of sessions for a particular service tier system.

$localhost = "$env:computername.$env:userdnsdomain" 
$localhost = $localhost.ToLower() 
$dt = New-Object System.Data.Datatable 
$dt = Get-NAVServerSession -ServerInstance BCProd 
$counter = 0 
ForEach ($connection in $dt) { 
$nst = $connection.ClientComputerName 
$nst = $nst.ToLower() 
if ($nst -eq $localhost) { 
$counter += 1 

}
Write-Host $counter 

Recap of the First-Ever Business Central Virtual Event

If you missed the first-ever Microsoft Dynamics 365 Business Central Virtual Event, we’ve got you covered. Well, Totovic and Saurav have you covered:

Saurav Dhyani covers the keynote in his post, Highlights from Business Central Virtual Event.

Totovic also provides a great overview and a link to new features/functions in his post, Business Central Virtual Event – 2020 Wave 1.

Managing Sessions in Business Central

Steven Renders shares his quick tip for how to manage sessions in MSD365 Business Central

If you are interested in Dynamics NAV and Business Central development, be sure to see our collection of NAV/BC Development Blogs.

Read the "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.

Blog tags