Macromedia coldfusion 4.5-cfml language reference 사용자 설명서
398
CFML Language Reference
IsProtected
Returns TRUE if the resource is protected in the security context of the authenticated
user.
user.
See also
IsAuthorized
.
Syntax
IsProtected(
resourcetype, resourcename [, action])
resourcetype
String specifying the type of resource:
•
Application
•
CFML
•
File
•
DataSource
•
Component
•
CustomTag
•
UserObject
resourcename
String specifying the name of the resource. Resourcename is the actual resource
that is protected, not to be confused with the rule name, which you specify in the
ColdFusion Administrator. The value specified varies depending on the resource
type:
that is protected, not to be confused with the rule name, which you specify in the
ColdFusion Administrator. The value specified varies depending on the resource
type:
resourcetype specification
resourcenamespecification
APPLICATION
Application name
CFML
CFML tag name
FILE
File name
DATASOURCE
Data source name
COMPONENT
Component name
COLLECTION
Verity collection name
CUSTOMTAG
Custom tag name
USEROBJECT
Object name