Creating Roles
Creating Roles
Creating new Role-objects is described in this chapter.
Examples:
Hint: The execution of these examples requires a connected PowerShell drive. |
New Roles are created using the New-EmdbRole cmdlet. The cmdlet expects a Role-name as a mandatory and a Role-description as an optional parameter:
New-EmdbRole -Path "Testing Manager" -Description "Management rights in the testing area" |
As the Path-parameter is the default-parameter, it can be omitted. And hence the description is optional, a new Role can be created just by using the following command:
New-EmdbRole "Testing Manager" |
This new Role 'Testing Manager' is created with a very limited set of permissions. To extend the possibilities Role-owners of this Role can carry out, it can be associated with Permissions. Adding Permissions to Roles is described in chapter Granting Permissions to Roles.
Note: Note that Role-objects are not part of the context rootDSE and therefore they can be referenced without a full qualified path resp. an absolute path. |