« first day (91 days earlier)
← previous day
next day →
last day (5011 days later) »
dskanth
12:20
hi all
is the administrator user id equal to 1 by default ?
please anyone ....
2 hours later…
kiamlaluno
14:12
The user with ID equal to 1 is the so called super-user, who has all the permissions.
dskanth
@kiamlaluno thanks... because i am checking this condition in my code.
global $user;
if($user->uid == 1) // admin
{
// show a link
}
6 hours later…
kiamlaluno
20:23
@dskanth It's rather better to use
user_access()
.
Jeremy Love
21:20
this thing works?
« first day (91 days earlier)
← previous day
next day →
last day (5011 days later) »
all rooms
Transcript for
Jun
1
Jun '11
2
Jun
3
Drupal Answers
Have the drop on
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile