internal package Foswiki::UI::Register

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::UI::Register

User registration handling.

StaticMethod register_cgi( $session )

register command handler. This method is designed to be invoked via the UI::run method.

StaticMethod bulkRegister($session)

Called by ManageCgiScript::bulkRegister (requires authentication) with topic = the page with the entries on it.

StaticMethod registerAndNext($session)

This is called when action = register. It either completes the registration, or redirects to verification, depending on the configuration.

StaticMethod verifyEmailAddress($session)

This is invoked on receipt of the activation password. It reloads a pending registration, and verifies the email address in it.

StaticMethod deleteUser($session)

CGI function that deletes the current user Renames the current user's topic (with renaming all links) and removes user entry from passwords.

StaticMethod addUserToGroup($session)

adds users to a group
  • groupname parameter must a a single groupname (group does not have to exist)
  • username can be a single login/wikiname/(cuid?), a URLParam list, or a comma separated list.

StaticMethod removeUserFromGroup($session)

Removes users from a group
  • groupname parameter must a a single groupname (group does not have to exist)
  • username can be a single login/wikiname/(cuid?), a URLParam list, or a comma separated list.

StaticMethod expirePendingRegistrations()

This routine expires registration files. This is called by tick_foswiki to expire stale registrations.

-- TimoBaumann - 12 Oct 2015

 
Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback