Click or drag to resize
UserSecurityHelperIsAuthorizedPerUIElement Method (String, String, String, UserInfo)
Checks whether the user is authorized for given resource name and UIElements, returns true if so.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
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: Boolean
See Also