4
显示customaction菜单项我有一个CustomAction菜单项如何根据用户权限
<CustomAction Id="DocumentManagement.DocLibNewToolbar" Location="EditControlBlock" RegistrationType="ContentType" RegistrationId="0x0101002bae451fbd3640fb9bae5df410b4a9a0" Title="Print">
<UrlAction Url="~site/_layouts/ELSActionMenu/PrintListItem.aspx?List={ListId}&ID={ItemId}"/>
</CustomAction>
我知道我可以写一个SPItemEventReceiver类,并检查当前用户的角色相匹配的标准。 但我想在ListItem [“Authorized”] = TRUE上隐藏这个CustomAction,这可能吗?
谢谢,但是是否可以显示/隐藏ListAtem上元数据的CustomAction依赖? – 2009-09-04 08:26:26