ForumInfoProviderIsAuthorizedPerForumInternal Method |
Indicates whether specified user has assigned specific permission for the specified forum.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax protected bool IsAuthorizedPerForumInternal(
int forumId,
string permissionName,
UserInfo userInfo,
int siteId
)
Parameters
- forumId
- Type: SystemInt32
ID of the forum to check permission for - permissionName
- Type: SystemString
Name of the permission - userInfo
- Type: CMS.MembershipUserInfo
User info to check permission for - siteId
- Type: SystemInt32
ID of the site role should belongs to
Return Value
Type:
BooleanSee Also