Same name and namespace in other branches
- 4.7.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 5.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 7.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 8.9.x core/includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
Role ID for authenticated users; should match what's in the "role" table.
2 uses of DRUPAL_AUTHENTICATED_RID
- system_install in modules/
system/ system.install - Implementation of hook_install().
- theme_comment_post_forbidden in modules/
comment/ comment.module - Theme a "you can't post comments" notice.
File
- includes/
bootstrap.inc, line 180 - Functions that need to be loaded on every Drupal request.
Code
define('DRUPAL_AUTHENTICATED_RID', 2);