Set-NAVServerPermissionSet
Changes the Name field of a Microsoft Dynamics NAV permission set.
Set-NAVServerPermissionSet
-PermissionSetId <String>
-PermissionSetName <String>
[-ServerInstance] <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Permission sets have an ID (or Role ID) field and a descriptive Name field. Use the Set-NAVServerPermissionSet cmdlet to change the Name field of a specific permission set. You use the ID field to identify the permission set that you want to rename. The cmdlet does not change the ID.
Set-NAVServerPermissionSet DynamicsNAV -PermissionSetId MySet -PermissionSetName NewName
This example renames the permission set that has the ID 'MySet' to 'NewName'.
Prompts you for confirmation before executing the command.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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 |
Specifies the ID of the permission set that you want to rename.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the new name for the permission set.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a Dynamics NAV Server instance, for example, DynamicsNAV 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 |
Describes what would happen if you executed the command without actually executing the command.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
System.String
You can pipe a string that contains a Microsoft Dynamics NAV Server instance name to the cmdlet.
None