Click or drag to resize
UserInfoIsAuthorizedPerResource Method (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: 9.0.0
Syntax
C#
public virtual bool IsAuthorizedPerResource(
	string resourceName,
	string permissionName
)

Parameters

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

Return Value

Type: Boolean
See Also