Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
linenumberstrue
ExecuteCommand("DeleteUser", { "jsmith" });

Configuration

Addons that use the DeleteUser command must define a "DeleteUser" permission in the addon's Config.xml file. The example below defines this permission for an "Aeon Server Testing" addon:


Code Block
languagexml
firstline1
linenumberstrue
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Aeon Server Testing</Name>
  <Author>Atlas Systems</Author>
  <Version>1.0</Version>
  <Active>True</Active>
  <Type>Server</Type>
  <Description>Outputs message to System Manager Log for testing purposes. System Manager Log should be logging DEBUG events.</Description>
  <Forms />
  <Settings />
  <Files>
    <File>Aeon Server Testing.lua</File>
  </Files>
  <Permissions>
     <Permission name="DeleteUser" />
  </Permissions>
</Configuration>

This permission must then be granted to the addon in Customization Manager's server addons interface by checking the "Delete User" checkbox:

Image Added