Documentation

GetBlogUserPostPerms

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

The method returns the access permission for userID to publish blog post in the blog ID. Non-static method.

Method parameters

ParameterDescription
ID Blog ID.
userID User ID.

Returned value

The method returns the user access permission right to publish blog posts.

See Also

Examples of use

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


© «Bitrix24», 2001-2024
Up