UserGroupManagerAddDomainObjects Method

Add selected domain objects to FileHold

Definition

Namespace: FileHold.UserRoleManager
Assembly: FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.1.0.0
C#
[WebMethodAttribute(Description = "Add selected domain objects to FileHold")]
public void AddDomainObjects(
	Guid domainId,
	Guid[] domainObjectIds,
	bool withGroups,
	RoleType? roleType,
	ref int groupsCount,
	ref int usersNotFromGroupsCount,
	ref int totalUsersCount,
	ref bool enoughLicenses
)

Parameters

domainId  Guid
domainObjectIds  Guid
Guids of the domain objects to add
withGroups  Boolean
whether add only members of the groups, or whole groups
roleType  NullableRoleType
the license type of the users (full or guest/limited)
groupsCount  Int32
how many domain groups has been added
usersNotFromGroupsCount  Int32
how many domain users has been directly added (not through domain group)
totalUsersCount  Int32
total number of added users
enoughLicenses  Boolean
whether there was enough FileHold liceses for all added users

See Also