You are here

constant DRUPAL_ANONYMOUS_RID in Drupal 6

Same name and namespace in other branches
  1. 8 core/includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  2. 4 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  3. 5 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  4. 7 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID

Role ID for anonymous users; should match what's in the "role" table.

5 uses of DRUPAL_ANONYMOUS_RID
system_install in modules/system/system.install
Implementation of hook_install().
theme_user_admin_new_role in modules/user/user.admin.inc
Theme the new-role form.
user_admin_role in modules/user/user.admin.inc
Menu callback: administer roles.
user_roles in modules/user/user.module
Retrieve an array of roles matching specified conditions.
user_save in modules/user/user.module
Save changes to a user account or add a new user.

File

includes/bootstrap.inc, line 175
Functions that need to be loaded on every Drupal request.

Code

define('DRUPAL_ANONYMOUS_RID', 1);