TaskGroupInfoProviderSetTaskGroupForUser Method |
Sets task group info for user.
Namespace: CMS.SynchronizationAssembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 11.0.0
Syntax public static void SetTaskGroupForUser(
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