ForumInfoProviderIsAuthorizedPerForumInternal Method |
Indicates whether specified user has assigned specific permission for the specified forum.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntaxprotected 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:
Boolean
See Also