How do I get Member ID while editing Umbraco member in Backoffice (not "member profile page").
Which instance-object-service provides information about the ID of the member you are editing in Backoffice? I'm not thinking of eg. myMemberService.GetById (memberShipHelper.GetCurrentMemberId ()) or the like. I need ID in order to find and change the custom property on one of the registered Members in Backoffice. Thus, the Member whose Guid is displayed in the url not the logged in member.
My solution in the end was to use editorState in the plugin in question.
$scope.editorState.current.id
I included the editorState in the controller and provide my Factory with the correct ID when calling its resource. Then I send it as parameter to the endpoint for further use.
How do I get Member ID while editing Umbraco member in Backoffice (not "member profile page").
Which instance-object-service provides information about the ID of the member you are editing in Backoffice? I'm not thinking of eg. myMemberService.GetById (memberShipHelper.GetCurrentMemberId ()) or the like. I need ID in order to find and change the custom property on one of the registered Members in Backoffice. Thus, the Member whose Guid is displayed in the url not the logged in member.
Thanks in advance for any tips or answers.
/Dusan
My solution in the end was to use editorState in the plugin in question.
I included the editorState in the controller and provide my Factory with the correct ID when calling its resource. Then I send it as parameter to the endpoint for further use.
is working on a reply...