getInstance |
Returns the singleton GlowWorm instance.
+ ( GlowWorm *)getInstance;
Only a single instance of GlowWorm should exist at a time. The creation of this single instance is handled internally. Just call this class method to get it.
initLocalGroupList |
Retrieves the local group list from NetInfo.
- ( BOOL)initLocalGroupList;
If you are writing a plugin, you do not ever need to call this method. If you are
writing a stand-alone application, this method needs to be called before the localGroups method
will be able to return the local group list.
Ultimately, this mess will be handled through the kernel extension, so that the local group list
will pertain to the machine running the kernel extension and not necessarily the machine running
the application.
initLocalUserList |
Retrieves the local user list from NetInfo.
- ( BOOL)initLocalUserList;
If you are writing a plugin, you do not ever need to call this method. If you are
writing a stand-alone application, this method needs to be called before the localUsers method
will be able to return the local user list.
Ultimately, this mess will be handled through the kernel extension, so that the local user list
will pertain to the machine running the kernel extension and not necessarily the machine running
the application.
localUsers |
Returns the local user list for this machine.
- ( NSDictionary *)localUsers;
Before this will return the local user list, the initLocalUserList method must be
called. If you are writing a plugin, you do not need to worry about this. If you are writing
a stand-alone application then you must make sure this is accomplished.
The elements of the NSDictionary returned by this method are keyed on the respective uids
(NSNumber) of the users. Each object is also an NSDictionary with the keys "name", "realname"
and "uid".
(Last Updated January 25, 2007)