62
Usage guidelines
You can assign multiple service types to a user.
Examples
# Authorize device management user
user1
to use the Telnet and FTP services.
<Sysname> system-view
[Sysname] local-user user1 class manage
[Sysname-luser-manage-user1] service-type telnet
[Sysname-luser-manage-user1] service-type ftp
Related commands
display local-user
sponsor-department
Use
sponsor-department
to specify the department of the guest sponsor for a local guest.
Use
undo sponsor-department
to restore the default.
Syntax
sponsor-department department-string
undo sponsor-department
Default
No department is specified for the guest sponsor of a local guest.
Views
Local guest view
Predefined user roles
network-admin
mdc-admin
Parameters
department-string
: Specifies the department name, a case-sensitive string of 1 to 127 characters.
Examples
# Specify the department as
test
for the guest sponsor of local guest
abc
.
<Sysname> system-view
[Sysname] local-user abc class network guest
[Sysname-luser-network(guest)-abc] sponsor-department test
Related commands
display local-user
sponsor-email
Use
sponsor-email
to specify the email address of the guest sponsor for a local guest.
Use
undo sponsor-email
to restore the default.
Syntax
sponsor-email email-string
undo sponsor-email