Domain::NetUser - Zero Knowledge Network User Domain Base Class
use Domain::NetUser;
$domain = new Domain::NetUser();
Perl5.004+ User::Base Server::Base (Sub-class) Domain::Base (Sub-class)
Nothing
This is the domain information class for network users. This class encapsuates Zero Knowledge, network specific domain information for Zero Knowledge network users.
The Domain::NetUser is a sub-class of Domain::Base.
This is the constructor for the Domain::NetUser object. A new domain object will be automagically initialized from the Zero Knowledge network specific parameter files.
OPTIONS
are passed in a hash like fashion, using key and value pairs and may be
used to override the default items. This is NOT
recommended as the netwok specific parameters associated with this domain
are guaranteed to be correct for the currently active Zero Knowledge
network.
Possible options are:
Hello_Domain - The domain name as presented to [E]SMTP servers on initial contact.
Mail_Domain - The domain name used for construction of Internet email addresses.
News_Domain - The domain name used for construction of hostnames for Internet news servers.
Example:
$domain = new Domain::NetUser( Hello_Domain => 'test.zks.net', Mail_Domain => 'dev.zks.net');
Returns the 'hello' domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.
Returns the mail domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.
Returns the news domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.
None Present
Kris Smith <krissmi@zeroknowledge.com> Philippe McLean <phillipem@zeroknowledge.com>
Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved