| UserInfoProviderIsAuthorizedPerUIElement Method (String, IEnumerableString, String, UserInfo, Boolean, Boolean) | 
            Indicates if user is authorized to see the specified UI element.
            
 
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
 Syntax
Syntaxpublic static bool IsAuthorizedPerUIElement(
	string resourceName,
	IEnumerable<string> elementNames,
	string siteName,
	UserInfo userInfo,
	bool checkElementsOnly,
	bool checkGlobalRoles
)
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
- checkElementsOnly
- Type: SystemBoolean
 Indicates if only UI elements will be checked, not settings or special role membership
- checkGlobalRoles
- Type: SystemBoolean
 Indicates if global roles should be checked
Return Value
Type: 
Boolean See Also
See Also