Share via


Get-NAVServerPermissionSet

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

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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.