Checks whether the user is authorized for given UI element of the specified resource, returns true if so.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- resourceName
- Type:
System String
Resource code name
- elementName
- Type:
System String
UI element code name
- siteAvailabilityRequired
- Type:
System Boolean
Indicates if site availability of the corresponding resource (resource with name in format "cms.[ElementName]") is required. Takes effect only when corresponding resource exists
- siteName
- Type:
System String
Site code name
- userInfo
- Type: CMS.Membership UserInfo
User to check
Return Value
Type:![Online Online](./../icons/online_icon.gif)
See Also