SocialData.EnsureUpdateAllowed Method
Determines whether a given piece of social data can be updated.
Namespace: Microsoft.Office.Server.SocialData
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Protected Sub EnsureUpdateAllowed
'Usage
Me.EnsureUpdateAllowed()
protected void EnsureUpdateAllowed()
Remarks
This method throws an InvalidOperationException whenever the SocialData object does not exist. It throws an UnauthorizedAccessException whenever the current user is not the owner of the SocialData object.