ForumInfoProviderIsAuthorizedPerForumInternal Method |
Indicates whether specified user has assigned specific permission for the specified forum.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax protected bool IsAuthorizedPerForumInternal(
int forumId,
int forumGroupId,
string permissionName,
SecurityAccessEnum permissionScope,
UserInfo user
)
Parameters
- forumId
- Type: SystemInt32
ID of the forum to check permission for - forumGroupId
- Type: SystemInt32
ID of the group to check permission for - permissionName
- Type: SystemString
Name of the permission - permissionScope
- Type: CMS.HelpersSecurityAccessEnum
User level - user
- Type: CMS.MembershipUserInfo
User info to check permission for
Return Value
Type:
BooleanSee Also