userContentPermissions

userContentPermissions

Syntax

userContentPermissions(pageId, userNameOrKey[, ignoreInherited])

Package

Alias

Pkg Usage

Description

Returns the permissions of the provided user for the specified content.

Parameters

Parameter name

Type

Required

Description

pageId

Number

Yes

The ID of the page to get permissions for.

userNameOrKey

String

Yes

User name or key of a user to get permissions for.

ignoreInherited

Boolean

No

Set to true to ignore inherited permissions. The default value is false.

Return Type

String []

Example

Retrieves content permissions of user "jdoe" for page with ID 11508.

string[] permissions = userContentPermissions(11508, "jdoe");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.