S2 Cookbook: Users

From Dreamwidth Notes
Revision as of 08:05, 17 June 2010 by Foxfirefey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Classes that represent users are UserLite and User.

Creating a UserLite object from a username

Get the User object of the journal being viewed

Viewer information

Is the viewer logged in

Does the viewer subscribe

Does the viewer have access

Can the viewer search the journal

Does the viewer see the control strip

Is the viewer a member of the community

Is the viewer a moderator of the community

Is the viewer an administrator of the community