Hi. I am changing the module for users that are users of the site (not admin users), the ability to Add New Announcement in the site. To do that i have to give edit permissions to registered users to users post new announcements.
But i am having a problem. I dont want to that users (not admin users) can edit announcements, only post. I tried to remove the link with this code:
If DotNetNuke.Security.PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName) Then
'remove link
Else
'remove link
End
If
but i having an error, when i do that. Can you help me. How can i remove the link for editing for users that not admin.
Thanks