< Back

Get-LinaUserProfile

Fri Jan 10, 2020 9:21 pm

NAME Get-LinaUserProfile



SYNOPSIS

Retrieves the user profiles





SYNTAX

Get-LinaUserProfile [-Name <String>] [-Tenant <String>] [-ShowAllPermissions] [<CommonParameters>]



Get-LinaUserProfile [-ID <Int32>] [-Tenant <String>] [-ShowAllPermissions] [<CommonParameters>]





DESCRIPTION

Retrieves the user profiles.

By default only show Lina permissions (corresponds to Lina tab in Web interface).

Use the -ShowAllPermissions to also displays Users tab and Server Tab permissions.

"Full" means that the user have all the possible permissions in the category.

Note : Requires PowerShell 5.0 or greater.





PARAMETERS

-Name <String>

Optional : Name of the user profile to retrieve. Wilcards are allowed. For example : *UserProfile*



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <Int32>

Optional : ID of the user profile to retrieve.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Tenant <String>

Optional : Tenant of the user profile to retrieve.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ShowAllPermissions [<SwitchParameter>]



Required? false

Position? named

Default value False

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

None





OUTPUTS

Array of LinaUserProfile Objects





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



PS C:\\>Get-LinaUserProfile



Retrieves all the user profiles and shows only Lina permissions









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



PS C:\\>Get-LinaUserProfile -ShowAllPermissions



Retrieves all the user profiles and shows all permissions Lina + Users + Server









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-LinaUserProfile -Name "MyProfile"



Retrieves MyProfile Lina permissions









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-LinaUserProfile -Tenant "MyTenant" | Where {$_.BuiltIn -eq $False -AND $_.Name -ne "Default"}



Retrieves all custom profiles from Tenant MyTenant











RELATED LINKS