Enables scripted content fragments to use NodePermissions
Methods
Get
Get Overload 1
[OBSOLETE in 12.0: Use $core_v3_permission.] Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($permissionId))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(permissionId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
permissionId | String | Permission Id | Required |
Get Overload 2
Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($permissionId))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(permissionId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
permissionId | Guid | Permission Id | Required |
Get Overload 3
[OBSOLETE in 12.0: Use $core_v3_permission.] Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(application, applicationId, permissionId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
application | String | Application | Required | ||
applicationId | Int32 | Application Id | Required | ||
permissionId | String | Permission Id | Required |
Get Overload 4
[OBSOLETE in 12.0: Use $core_v3_permission.] Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(application, applicationId, permissionId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
application | String | Application | Required | ||
applicationId | Int32 | Application Id | Required | ||
permissionId | Guid | Permission Id | Required |
Get Overload 5
[OBSOLETE in 12.0: Use $core_v3_permission.] Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId, "%{ PostId = $postIdArg, PostType = $postTypeArg }"))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(application, applicationId, permissionId, { PostId: postIdArg, PostType: postTypeArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
application | String | Application | Required | ||
applicationId | Int32 | Application Id | Required | ||
permissionId | String | Permission Id | Required | ||
options | Options | Set of optional parameters including: | Required | ||
PostId | Int32 | Post Id | Optional | ||
PostType | String | Post Type | Optional |
Get Overload 6
[OBSOLETE in 12.0: Use $core_v3_permission.] Gets a permission for the accessing user
Velocity
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId, "%{ PostId = $postIdArg, PostType = $postTypeArg }"))
JavaScript
var permissionEntryResponse = core_v2_nodePermission.Get(application, applicationId, permissionId, { PostId: postIdArg, PostType: postTypeArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
application | String | Application | Required | ||
applicationId | Int32 | Application Id | Required | ||
permissionId | Guid | Permission Id | Required | ||
options | Options | Set of optional parameters including: | Required | ||
PostId | Int32 | Post Id | Optional | ||
PostType | String | Post Type | Optional |