Click or drag to resize
UserInfoProviderIsAuthorizedPerUIElement Method (String, IEnumerableString, String, UserInfo)
Indicates if user is authorized to see the specified UI element.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static bool IsAuthorizedPerUIElement(
	string resourceName,
	IEnumerable<string> elementNames,
	string siteName,
	UserInfo userInfo
)

Parameters

resourceName
Type: SystemString
Name of the resource
elementNames
Type: System.Collections.GenericIEnumerableString
Name of the UIElement
siteName
Type: SystemString
Name of the site
userInfo
Type: CMS.MembershipUserInfo
UserInfo object

Return Value

Type: Boolean
See Also