Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Remove-NAVServerPermission

Remove-NAVServerPermission

Removes a permission from a permission set.

Syntax

Parameter Set: __AllParameterSets
Remove-NAVServerPermission [-ServerInstance] <String> -ObjectId <Int32> -ObjectType <ObjectType> -PermissionSetId <String> [ <CommonParameters>]




Detailed Description

Use the Remove-NAVServerPermission cmdlet to remove a permission from a permission set. You must specify a Permission Set ID, Object Type, and Object ID with the cmdlet.

Parameters

-ObjectId<Int32>

Specifies the ID of the object that the permission applies to.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ObjectType<ObjectType>

Specifies an Object Type, such as TableData or MenuSuite. 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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PermissionSetId<String>

Specifies the ID for a permission set, such as SUPER or BASIC.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerInstance<String>

Specifies the name of a Microsoft Dynamics NAV Server instance. The default instance name is DynamicsNAV70. You can specify either the full name of an instance (such as MicrosoftDynamicsNavServer$myinstance) or the short name (such myinstance).


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

    You can pipe a string that contains a Microsoft Dynamics NAV Server instance name to the cmdlet.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

    This cmdlet does not generate any output.


Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example removes a permission from the permission set AVOCADO.


C:\PS>Remove-NAVServerPermission DynamicsNAV70 -PermissionSetId AVOCADO -ObjectType TableData -ObjectId 18

Show:
© 2015 Microsoft