Click or drag to resize
TaskGroupInfoProviderSetTaskGroupForUserInternal Method
Sets task group info for user.

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntax
C#
protected virtual void SetTaskGroupForUserInternal(
	int taskGroupID,
	int userID
)

Parameters

taskGroupID
Type: SystemInt32
Task group ID to be bound with user. If taskGroupID is 0, user won't be assigned to any task group..
userID
Type: SystemInt32
User to whom set task group
Remarks
It's not recommend to set the task group for users without their knowledge. For example, a suitable way to call the method is in the logic of a custom interface that allows users to set their task group.
See Also