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: 10.0.0
Syntaxpublic 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:
Boolean
See Also