Enables scripted content fragments to use NodePermissions
Methods
Get
Get Overload 1
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
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
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
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 | ||
PostId | Int32 | Post Id | Optional | ||
PostType | String | Post Type | Optional |
Get Overload 6
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 | ||
PostId | Int32 | Post Id | Optional | ||
PostType | String | Post Type | Optional |