< Back

Set-vRNISettingsUser

Sat Jan 18, 2020 10:13 pm

NAME Set-vRNISettingsUser



SYNOPSIS

Configure a user role mapping from Network Insight





SYNTAX

Set-vRNISettingsUser [-Type] <String> [-Username] <String> [-Domain] <String> [-Role] <String> [[-Connection]

<PSObject>] [<CommonParameters>]





DESCRIPTION

Users from AD, VIDM or LOCAL can be mapped to vRNI

member roles (ADMIN or MEMBER) and this cmdlet configures

a new mapping



The public API currently only supports the VIDM type.





PARAMETERS

-Type <String>

Type user group (only VIDM supported for now)



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Username <String>

Username in vIDM



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Domain <String>

Domain in vIDM that this user belongs to



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Role <String>

Role that this user will get in vRNI



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

vRNI Connection object



Required? false

Position? 5

Default value $defaultvRNIConnection

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



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



PS C:\\>Set-vRNISettingsUser -Type VIDM -Username martijn -Domain mylab.local -Role ADMIN













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-vRNISettingsUser -Type VIDM -Username visitor -Domain mylab.local -Role MEMBER















RELATED LINKS