UserSecurityHelperIsAuthorizedPerUIElement Method (String, String, String, UserInfo) |
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: 11.0.0
Syntax public static bool IsAuthorizedPerUIElement(
string resourceName,
string[] elementNames,
string siteName,
UserInfo userInfo
)
Parameters
- resourceName
- Type: SystemString
Resource name - elementNames
- Type: SystemString
UIElement names to check - siteName
- Type: SystemString
Site name - userInfo
- Type: CMS.MembershipUserInfo
User to check
Return Value
Type:
BooleanSee Also