<% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"newuser", "edituser", "deleteuser"}, session) %>

User Accounts

Create new account

Existing account

<% for i,user in ipairs(form.value) do local name = html.html_escape(user.value.userid.value) %>
<%= name %>
<%= html.html_escape(user.value.userid.label) %> <%= html.html_escape(user.value.userid.value) %>
<%= html.html_escape(user.value.username.label) %> <%= html.html_escape(user.value.username.value) %>
<%= html.html_escape(user.value.roles.label) %> <%= html.html_escape(table.concat(user.value.roles.value, ", ")) %>
Option [Edit this account] [Delete this account] [View roles for this account]
<% end %>