Click or drag to resize

UserGroupManagerAddDomainObjects Method

Add selected domain objects to FileHold

Namespace:  FileHold.UserRoleManager
Assembly:  FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.0.0.0
Syntax
C#
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
Type: SystemGuid
domainObjectIds
Type: SystemGuid
Guids of the domain objects to add
withGroups
Type: SystemBoolean
whether add only members of the groups, or whole groups
roleType
Type: SystemNullableRoleType
the license type of the users (full or guest/limited)
groupsCount
Type: SystemInt32
how many domain groups has been added
usersNotFromGroupsCount
Type: SystemInt32
how many domain users has been directly added (not through domain group)
totalUsersCount
Type: SystemInt32
total number of added users
enoughLicenses
Type: SystemBoolean
whether there was enough FileHold liceses for all added users
See Also