Documentation

GetBlogUserPostPerms

string
CBlogPost::GetBlogUserPostPerms(
 int ID,
 int userID
);

The method returns userID access permission for the blog post with ID. Non-static method.

Method parameters

ParameterDescription
ID Blog post ID.
userID User ID.

Returned value

The method returns user access permission for blog posts.

See Also

Examples of use

<?
$perms = CBlogPost::GetBlogUserPostPerms(1, $USER->GetID());
echo "You have the following access permission for blog post: ".$perms;
?>


© «Bitrix24», 2001-2024
Up