< Back

Get-NsxUserRole

Sat Jan 18, 2020 9:13 pm

NAME Get-NsxUserRole



SYNOPSIS

Retrieves the user role





SYNTAX

Get-NsxUserRole [-UserName] <String> [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Each user has a role (with permissions) on NSX





PARAMETERS

-UserName <String>

Username to query role details.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

Default value $defaultNSXConnection

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:\\>get-NsxUserRole admin



Get the role of admin user











RELATED LINKS