12.6.0
Zuletzt aktualisiert:
- 09.2023
Parameter | |||
---|---|---|---|
useruser getuser get |
user get | ||
name | Optional. | user get name "benutzer1" | |
user newuser new |
user new name "benutzer2" password "insecure" groups "ssl-user" | ||
name | |||
password | |||
groups | |||
user setuser set |
user set id "183" groups | ||
id | |||
name | Optional. | ||
groups | |||
user deleteuser delete |
user delete id "193" | ||
id | |||
name | |||
user checkuser check |
user check name "benutzer1" groups "vpn-user" | ||
name | |||
groups | |||
user checkotpuser checkotp |
user checkotp name "user1" code "1234562" | ||
name | |||
code | |||
user whouser who |
– | user who | |
user attributeuser attribute getuser attribute get |
user attribute get | ||
name | Optional. | user attribute get name "benutzer1" | |
user attribute setuser attribute set |
Ändert die Attribute des Benutzers | user attribute set name "admin" attribute "password_change" value "1" | |
user | |||
attribute | |||
value | |||
user attribute otpsecretuser attribute otpsecret |
user attribute otpsecret name "user1" spcli user attribute otpsecret name "user1"
| ||
user | |||
user captiveportaluser captiveportal getuser captiveportal get |
– | user captiveportal get | |
user captiveportal newuser captiveportal new |
user captiveportal new name "CP-User" password "InSecure" expirydate "24:00" | ||
name | |||
password | |||
expirydate | |||
user captiveportal setuser captiveportal set |
user captiveportal set name "CP-User" password "CP-InSecure" user captiveportal set name "CP-User" expirydate "12:00" | ||
name | |||
password | |||
expirydate | |||
user captiveportal deleteuser captiveportal delete |
user captiveportal delete name "CP-User" | ||
name | |||
user groupuser group getuser group get |
– | user group get | |
user group newuser group new |
user group new name "proxy-user" permission "HTTP_PROXY" | ||
name | |||
permission | |||
user group setuser group set |
user group set id "194" permission [ WEB_USER VPN_CLIENTLESS ] | ||
id | |||
name | Optional. | ||
permission | |||
user group deleteuser group delete |
user group delete id "194" | ||
id | |||
name | |||
user group attribute getuser group attribute get |
user group attribute get | ||
user group attribute setuser group attribute set |
user group attribute set name "Userinterface" attribute "openvpn_client_download" value "0" | ||
name | |||
attribute | |||
value | |||
user group attribute deleteuser group attribute delete |
user group attribute delete name "Userinterface" attribute "openvpn_client_download" | ||
name | |||
attribute | |||
user support newuser support new |
user support new name "Support" password "InSecure" groups "User" expirydate "24:00" | ||
name | |||
password | |||
groups | |||
expirydate | |||
flags | Optional. |