UserInfoProviderIsAuthorizedPerUIElement Method (String, String, String, UserInfo) |
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 public static bool IsAuthorizedPerUIElement(
string resourceName,
string elementName,
string siteName,
UserInfo userInfo
)
Parameters
- resourceName
- Type: SystemString
Name of the resource - elementName
- Type: SystemString
Name of the UIElement - siteName
- Type: SystemString
Name of the site - userInfo
- Type: CMS.MembershipUserInfo
UserInfo object
Return Value
Type:
BooleanSee Also