This cmdlet adds a user account to the Lenovo XClarity Administrator server.
Add-LXCAUserAccount [-Connection Connection]
-UserName String
-Password SecureString
-RoleGroups String[]
[-PasswordChangeFirstAccess Bool]
[-Description String]
[CommonParameter]
LXC-SUPERVISOR. Includes the lxc-supervisor role.
LXC-ADMIN. Includes the lxca-admin role.
LXC-SECURITY-ADMIN. Includes the lxc-security-admin role.
LXC-HW-ADMIN. Includes the lxc-hw-admin role.
LXC-FW-ADMIN. Includes the lxc-fw-admin role.
LXC-OS-ADMIN. Includes the lxc-os-admin role.
LXC-SERVICE-ADMIN. Includes the lxc-service-admin role.
LXC-HW-MANAGER. Includes the lxc-hw-manager role.
LXC-OPERATOR. Includes the lxc-operator role.
LXC-RECOVERY. Includes the lxc-recovery role.
This cmdlet returns a UserAccount object.
The following example creates a user account.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$pwd = ConvertTo-SecureString "password" -AsPlainText Force
$account = Add-LXCAUserAccount -UserName USERID1 -Password $pwd -RoleGroups lxc-supervisor,lxc-admin`
-PasswordChangeFirstAccess $true
Disconnect-LXCA