Previous page

Next page

Locate page in Contents

Print this page

del_user

Summary:

Deletes an existing user from a server.

Request specification:

Name

Min/Max

Type

Description

del_user

0..[]

 

 

{

 

 

 

user

1..1

 

The user to delete.

{

 

 

 

name

1..1

string

User name.

}

 

 

 

remove_home_dir

0..1

none

Include this element if you would also like to remove the user's home directory. The directory must exist, otherwise you will get an error.

remove_initial_group

0..1

none

Include this element if you would also like to remove the user's initial group. The group must not contain any other users, otherwise the call will fail.

}

 

 

 

Returns:

OK/Error

Example:

Deleting the user TestUser from the specified server.

<packet version="4.0.0">

<dst>

<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>

</dst>

<target>userm</target>

<data>

<userm>

<del_user>

<user>

<name>TestUser</name>

</user>

</del_user>

</userm>

</data>

</packet>

Please send us your feedback on this help page