hi there i am trying to understand how to "Update" Method work in "Profile.ascx" web user control.
"Profile.ascx" user control is child control in MangeUsers.ascx . This control just handel the other control and button visibilty {as per my concern}.
Update Method calll from "Private Sub cmdUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click "
this method call "ProfileController.UpdateUserProfile(User, properties)" Library function.{exits in DotNetNuke.dll}
"ProfileController" Class is responsible for rest of the task.
in this class following Method Functionality is hard to understand.
Public Shared Sub UpdateUserProfile(ByVal objUser As UserInfo)
'Update the User Profile
If objUser.Profile.IsDirty Then
profileProvider.UpdateUserProfile(objUser)
End If
'Remove the UserInfo from the Cache, as it has been modified
DataCache.ClearUserCache(objUser.PortalID, objUser.Username)
End Sub
Specially "profileProvider.UpdateUserProfile(objUser)" named function.
can any one tell me how it works and where function defination exits?