UserGroupManagerGetUserObjects Method |
Return all user objects (including local users, domain users and domain groups), optionally matching given filter.
When all three parameters are null or empty strings, all user objects in the system are returned, including disabled users and domain groups.
In order to get all local and domain users without domain groups, use FindUserObject method instead.
The returned information includes the user GUID, names, type, enabled/disabled status, domain, email and work phone.
In some situations it may be more efficient to call this function only once to get all users, cache the result and perform the search manually.
Namespace:
FileHold.UserRoleManager
Assembly:
FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.0.0.0
Syntaxpublic List<ADAMObject> GetUserObjects(
string startsWith,
string name,
string email
)
Parameters
- startsWith
- Type: SystemString
If not null or empty, either the first name or last name must start with given string (for example, first letter). - name
- Type: SystemString
If not null or empty, the full name, first name or last name must exactly match the given string. - email
- Type: SystemString
If not null or empty, the email address of the user must exactly match the given string.
Return Value
Type:
ListADAMObjectA list of zero or more user objects matching the given filter
See Also