Simias::DomainService::Web::DomainService Class Reference

Domain Service. More...

List of all members.

Public Member Functions

 DomainService ()
 Constructor.
DomainInfo GetDomainInfo (string userID)
 Get domain information.
Simias.Host.HostInfo[] GetHosts ()
 Get the list of all hosts in the server domain.
Simias.Host.HostInfo GetHomeServer (string user)
 Get home server for the user.
ProvisionInfo ProvisionUserOnServer (string user, string password, byte[] ticket)
 Provision the user on server.
ProvisionInfo ProvisionUser (string user, string password)
 Provision the user.
ProvisionInfo InitializeUserInfo (string user)
 Initialize the user information like POBox etc. This assumes the user is already provisioned.
string CreateMaster (string collectionID, string collectionName, string rootDirID, string rootDirName, string userID, string memberName, string memberID, string memberRights)
 Create the master collection.
void RemoveServerCollections (string DomainID, string UserID)
 Deletes all of the collections that the specified user is a member of and deletes the user's membership from all collections that he belongs to from the enterprise server.
string GetDomainID ()
 Gets the ID for this simias server domain.


Detailed Description

Domain Service.


Constructor & Destructor Documentation

Simias::DomainService::Web::DomainService::DomainService (  )  [inline]

Constructor.


Member Function Documentation

DomainInfo Simias::DomainService::Web::DomainService::GetDomainInfo ( string  userID  )  [inline]

Get domain information.

Parameters:
userID The user ID of the member requesting domain information.
Returns:
A DomainInfo object that contains information about the enterprise server.

Simias.Host.HostInfo [] Simias::DomainService::Web::DomainService::GetHosts (  )  [inline]

Get the list of all hosts in the server domain.

Returns:
HostInfo array object containing info about each host

Simias.Host.HostInfo Simias::DomainService::Web::DomainService::GetHomeServer ( string  user  )  [inline]

Get home server for the user.

Parameters:
user user name
Returns:
HostInfo object containing user's home server, null if unsuccessful

ProvisionInfo Simias::DomainService::Web::DomainService::ProvisionUserOnServer ( string  user,
string  password,
byte[]  ticket 
) [inline]

Provision the user on server.

Parameters:
user user name
password password
ticket byte array for ticket issued by master, but not used currently int his function
Returns:
Provision Info about the user account

ProvisionInfo Simias::DomainService::Web::DomainService::ProvisionUser ( string  user,
string  password 
) [inline]

Provision the user.

Parameters:
user Identifier of the user to provision on the server.
password Password to verify the user's identity.
Returns:
A ProvisionInfo object that contains information about the account setup for the specified user.

ProvisionInfo Simias::DomainService::Web::DomainService::InitializeUserInfo ( string  user  )  [inline]

Initialize the user information like POBox etc. This assumes the user is already provisioned.

Parameters:
user Identifier of the user to provision on the server.
password Password to verify the user's identity.
Returns:
A ProvisionInfo object that contains information about the account setup for the specified user.

string Simias::DomainService::Web::DomainService::CreateMaster ( string  collectionID,
string  collectionName,
string  rootDirID,
string  rootDirName,
string  userID,
string  memberName,
string  memberID,
string  memberRights 
) [inline]

Create the master collection.

Parameters:
collectionID Identifier of the collection to create.
collectionName Name of the collection object.
rootDirID Identifier of the rootDir node to create if applicable.
rootDirName Name of the rootDir node object
userID Identifier of the user who owns this collection.
memberName Name of the member object that is the owner of this collection.
memberID Identifier of the member object that is the owner of this collection.
memberRights Rights of the member that is the owner of this collection.
Returns:
The master url that the client should use to contact the server.

void Simias::DomainService::Web::DomainService::RemoveServerCollections ( string  DomainID,
string  UserID 
) [inline]

Deletes all of the collections that the specified user is a member of and deletes the user's membership from all collections that he belongs to from the enterprise server.

Parameters:
DomainID Identifier of the domain that the userID is in.
UserID Identifier of the user to remove.

string Simias::DomainService::Web::DomainService::GetDomainID (  )  [inline]

Gets the ID for this simias server domain.

Returns:
Domain ID for the server domain.


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

Generated on Wed Apr 8 14:47:52 2009 for simias by  doxygen 1.5.6