Get-NAVServerPermission 
	Returns information about the permissions that are applied to Business Central objects for the specified Business Central Server instance.
Syntax
Default (Default)
Get-NAVServerPermission
    [-PermissionSetId <String>]
    [-ObjectType <ObjectType>]
    [-ObjectId <Int32>]
    [-ServerInstance] <String>
    [-Force]
    [-ProgressAction <ActionPreference>]
    [<CommonParameters>]
Description
Use the Get-NAVServerPermission cmdlet to return a list of Business Central permissions that are applied to Business Central objects for the specified Business Central Server instance.
You can filter the information permission set ID, object type, and/or object ID.
Examples
EXAMPLE 1
Get-NavServerPermission nav_server_instance -ObjectId 7700
PermissionSet ID   : ADCS ALL
Object Type        : Table Data
Object ID          : 7700
Read Permission    : Yes
Insert Permission  :
Modify Permission  :
Delete Permission  :
Execute Permission :
Security Filter    :
PermissionSet Name : ADCS User
Object Name        : Miniform Header
PermissionSet ID   : ADCS SETUP
Object Type        : Table Data
Object ID          : 7700
Read Permission    : Yes
Insert Permission  : Yes
Modify Permission  : Yes
Delete Permission  : Yes
Execute Permission :
Security Filter    :
PermissionSet Name : ADCS Set-up
Object Name        : Miniform Header
This example returns information about all permission sets that include permissions for object 7700.
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 | 
-ObjectId 
		Specifies an Object ID, such as 7702.
Parameter properties
| Type: | Int32 | 
| 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 | 
-ObjectType 
		Specifies an Object Type, such as TableData or Page. Always remove spaces when specifying an Object Type. You can also use integers to specify the Object Type:
TableData = 0
Table = 1
Form = 2
Report = 3
Dataport = 4
CodeUnit = 5
XmlPort = 6
MenuSuite = 7
Page = 8
Query = 9
System = 10
FieldNumber = 11
Parameter properties
| Type: | ObjectType | 
| Default value: | None | 
| Accepted values: | TableData, Table, Form, Report, Dataport, CodeUnit, XmlPort, MenuSuite, Page, Query, System, FieldNumber, LimitedUsageTableData, TablePage, PageExtension, TableExtension, Enum, EnumExtension, Profile, ProfileExtension, PermissionSet, PermissionSetExtension, ReportExtension, ExternalBusinessEvent, DynamicQuery, MovedObjectManifest, PackagedResourceManifest | 
| 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 | 
-PermissionSetId  
		Specifies the ID for a permission set, such as SUPER or BASIC.
Parameter properties
| Type: | String | 
| 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 | 
-ProgressAction 
		A common PowerShell parameter that determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider. Learn more.
Parameter properties
| Type: | ActionPreference | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
| Aliases: | proga | 
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 Business Central Server permissions information as a table.