Click or drag to resize

IUserChangeGroup Method

Change the group of the user.
It will not save the change in the database unless you explicitly call the Save method

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
IReturnValue ChangeGroup(
	int groupId
)

Parameters

groupId
Type: SystemInt32
Id of the group to target.

Return Value

Type: IReturnValue
Returns true if the user in the context have enough right to edit the user
Remarks
A non administrator cannot change the user's group.
It will not save the change in the database unless you explicitly call the Save method
See Also