Skip to content

New-VCFUser

Synopsis

Adds a new user.

Syntax

New-VCFUser [-user] <String> [-role] <String> [<CommonParameters>]

Description

The New-VCFUser cmdlet adds a new user to SDDC Manager with a specified role.

Examples

Example 1

New-VCFUser -user vcf-admin@rainpole.io -role ADMIN

This example shows how to add a new user with a specified role.

Parameters

-user

Specifies the name of the user.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-role

Specifies the role for the user. One of: ADMIN, OPERATOR, VIEWER.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.