Get-NAVServerPermissionSet

Returns a list of permission sets for the specified Business Central Server instance.

Syntax

Get-NAVServerPermissionSet
   [-ServerInstance] <String>
   [-Force]
   [<CommonParameters>]

Description

Use the Get-NAVServerPermissionSet cmdlet to return a list of permission sets for the specified Business Central Server instance.

Examples

EXAMPLE 1

Get-NAVServerPermissionSet MicrosoftDynamicsNavServer

PermissionSetID                         Name
---------------                         ----
ADCS ALL                                ADCS User
ADCS SETUP                              ADCS Set-up
BASIC                                   Basic User (All Inclusive)
CASHFLOW                                Cash Flow Total
CHANGELOG-DELETE                        Delete Change Log Entries
CHANGELOG-SETUP                         Setup Change Log
CHANGELOG-VIEW                          View Change Log Entries
COST                                    Cost Accounting
DOC-APP-SETUP                           Document Approval Setup
DOC-APP-USER                            Document Approval
FA-FIXED ASSET                          Read fixed assets and entries
FA-FIXED ASSET, EDIT                    Edit fixed assets
FA-INS JOURNAL                          Create entries in ins. jnls.
FA-INS JOURNAL, POST                    Post insurance journals
FA-INS REGISTER                         Read insurance registers
...

Returns all the PermissionSets for the default ServerInstance. The ellipse ... means that are more data than is shown in the console window.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerInstance

Specifies the name of a Business Central Server instance, for example, BC or myinstance. You can specify either the full name of an instance, such as MicrosoftDynamicsNavServer$myinstance or the short name such as myinstance.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

You can pipe a string that contains a Business Central Server instance name to the cmdlet.

Outputs

System.Data.DataTable

Returns the permission sets as a table.