Get-RubrikUser

SYNOPSIS

Gets settings of a Rubrik user

SYNTAX

Query (Default)

Get-RubrikUser [[-Username] <String>] [-AuthDomainId <String>] [-PrincipalType <String>] [-DetailedObject]
 [-Server <String>] [-api <String>] [<CommonParameters>]

ID

Get-RubrikUser [-PrincipalType <String>] [-Id] <String> [-DetailedObject] [-Server <String>] [-api <String>]
 [<CommonParameters>]

DESCRIPTION

The Get-RubrikUser cmdlet is used to query the Rubrik cluster to retrieve a list of settings around a Rubrik user account.

EXAMPLES

EXAMPLE 1

This will return settings of all of the user accounts (local and LDAP) configured within the Rubrik cluster.

EXAMPLE 2

This will return settings of all of the user accounts belonging to the local authoriation domain.

EXAMPLE 3

This will return settings for the user account with the username of john.doe configured within the Rubrik cluster.

EXAMPLE 4

This will return full details of the settings for the user account with the username of john.doe configured within the Rubrik cluster.

EXAMPLE 5

This will return settings of all of the user accounts belonging to the specified authoriation domain.

EXAMPLE 6

This will return detailed information about the user with the specified ID.

PARAMETERS

-Username

Username to filter on

-AuthDomainId

AuthDomainId to filter on

-PrincipalType

PrincipalType - For 5.3 and above

-Id

User ID

-DetailedObject

DetailedObject will retrieved the detailed User object, the default behavior of the API is to only retrieve a subset of the full User object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.

-Server

Rubrik server IP or FQDN

-api

API version

CommonParameters

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

INPUTS

OUTPUTS

NOTES

Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikuser

Last updated

Was this helpful?