Add-SCACUserRole

Add-SCACUserRole

Creates an user role.

Syntax

Parameter Set: Default
Add-SCACUserRole [-Name] <String> [-Description <String> ] [-IsReadOnly] [ <CommonParameters>]

Detailed Description

The Add-SCACUserRole function creates an user role.

Parameters

-Description<String>

Specifies a description for the user role.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-IsReadOnly

Indicates that the user role is read-only.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the user role.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

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

Examples

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

Description

-----------

This example creates a read-only user role named UserRole01.

PS C:\>Add-SCACUserRole -Name "UserRole01" -Description "Test User Role" -IsReadOnly

Get-SCACUserRole

Remove-SCACUserRole