Click or drag to resize

IUserChangeUserProfile Method

Change the user profile to inherits.
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 ChangeUserProfile(
	Nullable<int> userProfileId
)

Parameters

userProfileId
Type: SystemNullableInt32
Id of the user profile to inherit.

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 profile to inherits.
It will not save the change in the database unless you explicitly call the Save method
See Also