Set-NAVServerPermissionSet
Set-NAVServerPermissionSet
Renames a Microsoft Dynamics NAV permission set.
Syntax
Parameter Set: __AllParameterSets
Set-NAVServerPermissionSet [-ServerInstance] <String> -NewPermissionSetId <String> [-PermissionSetId <String> ] [ <CommonParameters>]
Detailed Description
Use the Set-NAVServerPermissionSet cmdlet to rename a Microsoft Dynamics NAV permission set.
Parameters
-NewPermissionSetId<String>
Specifies the new name (ID) for the permission set.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PermissionSetId<String>
Specifies the existing name (ID) for the permission set.
Aliases |
none |
Required? |
false |
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 as 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 renames an existing permission set.
C:\PS>Set-NAVServerPermissionSet DynamicsNav70 -PermissionSetId Original -NewPermissionSetId Improved