< Back
New-LinaUser
Post
NAME New-LinaUser
SYNOPSIS
Creates a new user.
SYNTAX
New-LinaUser [-Name] <String> [[-Tenant] <String>] [-Password] <String> [-UserGroup] <String> [<CommonParameters>]
DESCRIPTION
Creates a new user.
PARAMETERS
-Name <String>
Mandatory : Name for the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Tenant <String>
Optional : Name of the tenant where the user should be created.
If not provided, agent will be created in the current tenant.
In global view (no tenant selected), agent will be created in the default tena
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Mandatory : Password for the user
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UserGroup <String>
Mandatory : User group (and user profile) for the user
Note : User group has to be in the same tenant as the user
Required? true
Position? 4
Default value
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
The new LinaUser Object
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-LinaUser -Name "MyUser" -Tenant "MyTenant" -Password "V3ryS3CuRe$" -UserGroup "Groupe d'utilisateurs
administrateurs"
Creates a new user MyUser in Tenant MyTenant. By default, newly created users are enabled and can log in.
RELATED LINKS
SYNOPSIS
Creates a new user.
SYNTAX
New-LinaUser [-Name] <String> [[-Tenant] <String>] [-Password] <String> [-UserGroup] <String> [<CommonParameters>]
DESCRIPTION
Creates a new user.
PARAMETERS
-Name <String>
Mandatory : Name for the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Tenant <String>
Optional : Name of the tenant where the user should be created.
If not provided, agent will be created in the current tenant.
In global view (no tenant selected), agent will be created in the default tena
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
Mandatory : Password for the user
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UserGroup <String>
Mandatory : User group (and user profile) for the user
Note : User group has to be in the same tenant as the user
Required? true
Position? 4
Default value
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
The new LinaUser Object
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-LinaUser -Name "MyUser" -Tenant "MyTenant" -Password "V3ryS3CuRe$" -UserGroup "Groupe d'utilisateurs
administrateurs"
Creates a new user MyUser in Tenant MyTenant. By default, newly created users are enabled and can log in.
RELATED LINKS