Click or drag to resize
UserInfoIsAuthorizedPerUIElement Method (String, String, String)
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 virtual bool IsAuthorizedPerUIElement(
	string resourceName,
	string[] elementNames,
	string siteName
)

Parameters

resourceName
Type: SystemString
Resource name
elementNames
Type: SystemString
UIElement names to check
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
See Also