UserGroupManagerGetUserObjectsV2 Method

Return all user objects (including local users, domain users and optionally domain groups), optionally matching given filter. When both name and email are null or empty strings, all user objects in the system are returned, including disabled users and optionally domain groups. The returned information includes the user GUID, names, type, enabled/disabled status, authentication type, 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.

Definition

Namespace: FileHold.UserRoleManager
Assembly: FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.1.0.0
C#
[WebMethodAttribute(Description = "Return all user objects (including local users, domain users and optionally domain groups), optionally matching given filter.")]
public List<ADAMObject> GetUserObjectsV2(
	string startsWith,
	string name,
	string email,
	bool withDomainGroups
)

Parameters

startsWith  String
If not null or empty, either the first name or last name must start with given string (for example, first letter).
name  String
If not null or empty, the full name, first name or last name must exactly match the given string.
email  String
If not null or empty, the email address of the user must exactly match the given string.
withDomainGroups  Boolean
If true, domain groups are returned.

Return Value

ListADAMObject
A list of zero or more user objects matching the given filter

Exceptions

See Also