UserInfoIsAuthorizedPerUIElement Method (String, String, String) |
Checks whether the user is authorized for given resource name and UIElements, returns true if so.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax public virtual bool IsAuthorizedPerUIElement(
string resourceName,
string[] elementNames,
string siteName
)
Parameters
- resourceName
- Type: SystemString
Resource name - elementNames
- Type: SystemString
UIElement names to check - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also