XQuery Function Documentation

http://exist-db.org/xquery/securitymanager

java:org.exist.xquery.functions.securitymanager.SecurityManagerModule

Module for interacting with the Security Manager

sm:create-account#4

sm:create-account($username as xs:string, $password as xs:string, $primary-group as xs:string, $groups as xs:string*) as empty-sequence()

Creates a User Account.

Parameters:
$usernameThe User's username.
$passwordThe User's password.
$primary-groupThe primary group of the user.
$groupsAny supplementary groups of which the user should be a member.
Returns:
empty-sequence()

sm:create-account#6

sm:create-account($username as xs:string, $password as xs:string, $primary-group as xs:string, $groups as xs:string*, $full-name as xs:string, $description as xs:string) as empty-sequence()

Creates a User Account.

Parameters:
$usernameThe User's username.
$passwordThe User's password.
$primary-groupThe primary group of the user.
$groupsAny supplementary groups of which the user should be a member.
$full-nameThe full name of the user.
$descriptionA description of the user.
Returns:
empty-sequence()

sm:create-account#3

sm:create-account($username as xs:string, $password as xs:string, $groups as xs:string*) as empty-sequence()

Creates a User Account and a personal group for that user. The personal group takes the same name as the user, and is set as the user's primary group.

Parameters:
$usernameThe User's username.
$passwordThe User's password.
$groupsAny supplementary groups of which the user should be a member.
Returns:
empty-sequence()

sm:create-account#5

sm:create-account($username as xs:string, $password as xs:string, $groups as xs:string*, $full-name as xs:string, $description as xs:string) as empty-sequence()

Creates a User Account and a personal group for that user. The personal group takes the same name as the user, and is set as the user's primary group.

Parameters:
$usernameThe User's username.
$passwordThe User's password.
$groupsAny supplementary groups of which the user should be a member.
$full-nameThe full name of the user.
$descriptionA description of the user.
Returns:
empty-sequence()