Home | Trees | Index | Help |
---|
Module hermes :: Class User |
|
Properties for the user currently accessing this external.
Externals may use the data
property to store information that is
specific to the user accessing the external.
hermes
module as a global variable with the name user
.
Note: There are a number of other user properties accessible from this object, but they have not yet been documented.
Method Summary | |
---|---|
Do not construct this object; used the user global
variable in the hermes module to access the User
properties. | |
Delete the data for this user from the external's data store. |
Instance Variable Summary | |
---|---|
External Data | |
ExternalData |
data : User data for this external. |
User Information | |
boolean |
coSysOp : True if this user has the SysOp flag set in their user
record, False otherwise. |
int |
dsl : The user's download security level. |
boolean |
hasAnsi : True if the user has an ANSI display, False
if the user only has an ASCII display and cannot render ANSI escape
sequences. |
str |
name : The name of the user, which might be their handle if the BBS allows
handles. |
boolean |
pauseScreen : True if the user wants screen pauses every screenHeight lines of text,
False otherwise. |
str |
phone : The user's phone number. |
str |
realName : The user's real name. |
int |
screenHeight : The height of the user's screen, in lines. |
int |
screenWidth : The width of the user's screen, in characters. |
int |
sl : The user's security level. |
boolean |
sysop : True if this user is the BBS' SysOp (they have the SysOp
flag and a security level of 255), False
otherwise. |
boolean |
useAnsiChat : True if the user wants to use the ANSI chatroom,
False to use the line-oriented chatroom. |
boolean |
useAnsiColor : True if the user's display is capable of rendering ANSI
color sequences and wants to receive ANSI color sequences;
False if the user has a black-and-white display or does not
want to receive ANSI color sequences. |
Method Details |
---|
__init__(self)
Do not construct this object; used the |
deleteData(self)Delete the data for this user from the external's data store. Cached references to thedata property will still be valid, but
will not reflect the contents of the on-disk storage for this user. In
this way, deleteData is similar to the POSIX
unlink system call.
|
Instance Variable Details |
---|
dataUser data for this external.
|
coSysOpTrue if this user has the SysOp flag set in their user
record, False otherwise.
|
dslThe user's download security level.
|
hasAnsiTrue if the user has an ANSI display, False
if the user only has an ASCII display and cannot render ANSI escape
sequences.
|
nameThe name of the user, which might be their handle if the BBS allows handles. The user's real name is accessible through therealName property.
|
pauseScreenTrue if the user wants screen pauses every screenHeight lines of text,
False otherwise.
|
phoneThe user's phone number.
|
realNameThe user's real name. This could be different fromname if
the BBS allows handles.
|
screenHeightThe height of the user's screen, in lines.
|
screenWidthThe width of the user's screen, in characters.
|
slThe user's security level.
|
sysopTrue if this user is the BBS' SysOp (they have the SysOp
flag and a security level of 255), False
otherwise.
|
useAnsiChatTrue if the user wants to use the ANSI chatroom,
False to use the line-oriented chatroom.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Mar 27 20:48:39 2006 | http://epydoc.sf.net |