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

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public virtual bool IsAuthorizedPerResource(
	string resourceName,
	string permissionName,
	string siteName
)

Parameters

resourceName
Type: SystemString
Resource name
permissionName
Type: SystemString
Permission name to check
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
See Also