User Object

Manages the maintenance of a User object.
Property Description
Description String - description
Exclusive Boolean - true if the user functions are exclusive (user has all access except for those functions specified)
GroupId Long - database record identifier of the group user from whom permissions are inherited. Zero if this is a group, or a unique user.
Id Long - database identifier for this item (read only)
Index Long - the index of this object within a Reports collection
IsDeleted True/False - item has been flagged for deletion
IsDirty True/False - item has been modified but not saved yet
IsEditing True/false - item is in the process of being edited
IsGroup True/false - indicates if the item is a group
IsNew True/false - item is new and has not been saved
IsValid True/false - indicates if the item has any errors
NoPermissions Boolean - true if there is no security defined
Password String - user password
Security Boolean - true if there is security defined
UserFunction (FunctionName) Object - returns a user function object from this user's collection of functions, that has the function name specified. If the function is not defined, a new function is returned, with the permissions off if exclusive preopty set, otherwise set on.
UserFunctions Collection - containing a list of user's functions
UserName String - user name

In order to apply any changes to an object, the BeginEdit method must be called setting any property values. To save the changes, call the ApplyEdit method, and to undo the changes call the CancelEdit method.

Method Description
ApplyChildEdit Finishes an editing session.
ApplyEdit(Server, Connection) Saves the item in the database. Server is a string containing the name of the network server to provide the data, and Connection is the ADO connection string to establish a connection with the database on that server.
BeginChildEdit Prepares the item for updating.
CancelChildEdit Reverses the changes in the current edit session and restores the state of the item to that preceding the last BeginEdit.
Delete Flags the item for deletion. The item will be deleted from the database when the next ApplyEdit is called. A Delete must be preceded by a BeginEdit.
Load (Server, Connection, UserName) Loads the data for the user name. Server is a string containing the name of the network server to provide the data, and Connection is the ADO connection string to establish a connection with the database on that server.