Get-SentinelOneUserAccess

SYNOPSIS

Checks various access levels for the logged in user

SYNTAX

indexByViewer (Default)

Get-SentinelOneUserAccess [-viewer] [<CommonParameters>]

indexByTenant

Get-SentinelOneUserAccess [-tenantAdmin] [<CommonParameters>]

indexByRemoteShell

Get-SentinelOneUserAccess [-remoteShell] [<CommonParameters>]

DESCRIPTION

The Get-SentinelOneUserAccess cmdlet checks various access levels for the logged in user

EXAMPLES

EXAMPLE 1

Get-SentinelOneUserAccess -tenantAdmin

Returns if logged in user is a user with the Global scope of access.

EXAMPLE 2

Get-SentinelOneUserAccess -remoteShell

Returns if the logged in user is allowed to use Remote Shell.

EXAMPLE 3

Get-SentinelOneUserAccess -viewer

Returns if the logged in user has only viewer permissions.

PARAMETERS

-tenantAdmin

See if logged in user is a user with the Global scope of access.

Type: SwitchParameter
Parameter Sets: indexByTenant
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-remoteShell

See if the logged in user is allowed to use Remote Shell.

Type: SwitchParameter
Parameter Sets: indexByRemoteShell
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-viewer

See if the logged in user has only viewer permissions.

This is the default return

Type: SwitchParameter
Parameter Sets: indexByViewer
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

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

Look into combining all three into 1 output object.

https://celerium.github.io/SentinelOne-PowerShellWrapper/site/Users/Get-SentinelOneUserAccess.html