Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Collection Interface Reference : IUserSet interface : IUserSet methods
 

IUserSet methods

Inherits methods from IDataAdminCollection and defines the methods listed in the following table.
Table 144. Multi-tenant Maintenance IUserSet interface methods
Method syntax
Description
LOGICAL Add ( user AS IUser )
Adds the user object referenced by user to the set and returns TRUE if successful.
LOGICAL CanFind ( userName AS CHARACTER )
Returns TRUE if there is a user object in the set identified by userName.
The value of userName depends on the source for the IUserSet. If the source is the Users property on an IDomain object, userName must match the Name property of an IUser object in the set. If the source is the GetUsers( ) service method, userName must match the Id property of an IUser object in the set.
LOGICAL Contains ( user AS IUser )
Returns TRUE if the user object referenced by user is in the set.
IUser Find ( userName AS CHARACTER )
Returns the user object from the set identified by userName.
The value of userName depends on the source for the IUserSet. If the source is the Users property on an IDomain object, userName must match the Name property of an IUser object in the set. If the source is the GetUsers( ) service method, userName must match the Id property of an IUser object in the set.
The method returns the Unknown value (?) if a user object is not found.
See also:
*IDataAdminCollectioninterface
*IUser interface