Replaces all occurences of a role in the list of roles granted to users with another role.
Namespace:
Novalys.VisualGuard.Security.Deployment.ActionsAssembly: vg_deployment (in vg_deployment.exe) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public void Execute( VGRepositoryDeploymentOptions deploymentOption ) |
| Visual Basic (Declaration) |
|---|
Public Sub Execute ( _ deploymentOption As VGRepositoryDeploymentOptions _ ) |
Parameters
- deploymentOption
- Type: Novalys.VisualGuard.Security.Deployment..::.VGRepositoryDeploymentOptions
A VGRepositoryDeploymentOptions object that defines the deployment options.
Implements
VGIDeploymentAction..::.Execute(VGRepositoryDeploymentOptions)
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | deploymentOption is null (Nothing in VB.Net). |
| System..::.InvalidOperationException | The method Init(KeyValueConfigurationCollection) must be called before calling this method.
- or - The OriginalRoleId does not exist in the target.- or - The NewRoleId does not exist in the target. |