OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenSim.Services.UserAccountService.UserAccountService Class Reference
Inheritance diagram for OpenSim.Services.UserAccountService.UserAccountService:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Services.UserAccountService.UserAccountService:
Collaboration graph
[legend]

Public Member Functions

 UserAccountService (IConfigSource config)
 
UserAccount GetUserAccount (UUID scopeID, string firstName, string lastName)
 
UserAccount GetUserAccount (UUID scopeID, string email)
 
UserAccount GetUserAccount (UUID scopeID, UUID principalID)
 
void InvalidateCache (UUID userID)
 
bool StoreUserAccount (UserAccount data)
 Store the data given, wich replaces the stored data, therefore must be complete. More...
 
List< UserAccountGetUserAccounts (UUID scopeID, string query)
 Returns the list of avatars that matches both the search criterion and the scope ID passed More...
 
List< UserAccountGetUserAccountsWhere (UUID scopeID, string where)
 
UserAccount CreateUser (UUID scopeID, UUID principalID, string firstName, string lastName, string password, string email)
 Create a user More...
 
- Public Member Functions inherited from OpenSim.Services.Base.ServiceBase
LoadPlugin< T > (string dllName)
 
LoadPlugin< T > (string dllName, Object[] args)
 
LoadPlugin< T > (string dllName, string className, Object[] args)
 
 ServiceBase (IConfigSource config)
 

Protected Member Functions

void HandleCreateUser (string module, string[] cmdparams)
 Handle the create user command from the console. More...
 
void HandleShowAccount (string module, string[] cmdparams)
 
void HandleResetUserPassword (string module, string[] cmdparams)
 
void HandleResetUserEmail (string module, string[] cmdparams)
 
void HandleSetUserLevel (string module, string[] cmdparams)
 
void CreateDefaultAppearanceEntries (UUID principalID)
 

Protected Attributes

IGridService m_GridService
 
IAuthenticationService m_AuthenticationService
 
IGridUserService m_GridUserService
 
IInventoryService m_InventoryService
 
IAvatarService m_AvatarService
 

Detailed Description

Definition at line 43 of file UserAccountService.cs.

Constructor & Destructor Documentation

OpenSim.Services.UserAccountService.UserAccountService.UserAccountService ( IConfigSource  config)
inline

Definition at line 59 of file UserAccountService.cs.

Here is the caller graph for this function:

Member Function Documentation

void OpenSim.Services.UserAccountService.UserAccountService.CreateDefaultAppearanceEntries ( UUID  principalID)
inlineprotected

Definition at line 613 of file UserAccountService.cs.

UserAccount OpenSim.Services.UserAccountService.UserAccountService.CreateUser ( UUID  scopeID,
UUID  principalID,
string  firstName,
string  lastName,
string  password,
string  email 
)
inline

Create a user

Parameters
scopeIDAllows hosting of multiple grids in a single database. Normally left as UUID.Zero
principalIDID of the user
firstName
lastName
password
email

Definition at line 534 of file UserAccountService.cs.

UserAccount OpenSim.Services.UserAccountService.UserAccountService.GetUserAccount ( UUID  scopeID,
string  firstName,
string  lastName 
)
inline
UserAccount OpenSim.Services.UserAccountService.UserAccountService.GetUserAccount ( UUID  scopeID,
string  email 
)
inline
UserAccount OpenSim.Services.UserAccountService.UserAccountService.GetUserAccount ( UUID  scopeID,
UUID  principalID 
)
inline
List<UserAccount> OpenSim.Services.UserAccountService.UserAccountService.GetUserAccounts ( UUID  scopeID,
string  query 
)
inline

Returns the list of avatars that matches both the search criterion and the scope ID passed

Parameters
scopeID
query
Returns

Implements OpenSim.Services.Interfaces.IUserAccountService.

Definition at line 306 of file UserAccountService.cs.

List<UserAccount> OpenSim.Services.UserAccountService.UserAccountService.GetUserAccountsWhere ( UUID  scopeID,
string  where 
)
inline
void OpenSim.Services.UserAccountService.UserAccountService.HandleCreateUser ( string  module,
string[]  cmdparams 
)
inlineprotected

Handle the create user command from the console.

Parameters
cmdparamsstring array with parameters: firstname, lastname, password, locationX, locationY, email

Definition at line 344 of file UserAccountService.cs.

void OpenSim.Services.UserAccountService.UserAccountService.HandleResetUserEmail ( string  module,
string[]  cmdparams 
)
inlineprotected

Definition at line 447 of file UserAccountService.cs.

void OpenSim.Services.UserAccountService.UserAccountService.HandleResetUserPassword ( string  module,
string[]  cmdparams 
)
inlineprotected

Definition at line 412 of file UserAccountService.cs.

void OpenSim.Services.UserAccountService.UserAccountService.HandleSetUserLevel ( string  module,
string[]  cmdparams 
)
inlineprotected

Definition at line 484 of file UserAccountService.cs.

void OpenSim.Services.UserAccountService.UserAccountService.HandleShowAccount ( string  module,
string[]  cmdparams 
)
inlineprotected

Definition at line 382 of file UserAccountService.cs.

void OpenSim.Services.UserAccountService.UserAccountService.InvalidateCache ( UUID  userID)
inline
bool OpenSim.Services.UserAccountService.UserAccountService.StoreUserAccount ( UserAccount  data)
inline

Store the data given, wich replaces the stored data, therefore must be complete.

Parameters
data
Returns

Implements OpenSim.Services.Interfaces.IUserAccountService.

Definition at line 272 of file UserAccountService.cs.

Member Data Documentation

IAuthenticationService OpenSim.Services.UserAccountService.UserAccountService.m_AuthenticationService
protected

Definition at line 54 of file UserAccountService.cs.

IAvatarService OpenSim.Services.UserAccountService.UserAccountService.m_AvatarService
protected

Definition at line 57 of file UserAccountService.cs.

IGridService OpenSim.Services.UserAccountService.UserAccountService.m_GridService
protected

Definition at line 53 of file UserAccountService.cs.

IGridUserService OpenSim.Services.UserAccountService.UserAccountService.m_GridUserService
protected

Definition at line 55 of file UserAccountService.cs.

IInventoryService OpenSim.Services.UserAccountService.UserAccountService.m_InventoryService
protected

Definition at line 56 of file UserAccountService.cs.


The documentation for this class was generated from the following file: