User Module

Overview

This module is used for defining new user.

Module's schema is defined in security.xsd.

Attributes

name

type

required

description

login

string

yes

Login of the user.

password

string

yes

Password of the group.

groupIdentifier

string

yes

Identifier of the group where user belongs.

firstName

string

no

Firstname of the user.

lastName

string

no

Lastname of the user.

email

string

no

Email of the user.

Example

Please find below an example of plugin defining one user module. Lines 8 contains a module which defines new user admin with group ADMIN.

<?xml version="1.0" encoding="UTF-8"?>
<plugin plugin="samplePlugin" version="1.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://schema.qcadoo.org/plugin" 
    xmlns:security="http://schema.qcadoo.org/modules/security" 
    xsi:schemaLocation="http://schema.qcadoo.org/plugin http://schema.qcadoo.org/plugin.xsd http://schema.qcadoo.org/modules/security http://schema.qcadoo.org/modules/security.xsd">

    <security:user login="admin" password="admin" firstName="John" lastName="Smith" email="john.smith@qcadoo.com" groupIdentifier="ADMIN" />

</plugin>