Click or drag to resize
ProjectInfoProviderIsRoleAuthorizedPerProjectInternal Method
Indicates whether specified user has assigned specific permission for the specified project.

Namespace: CMS.ProjectManagement
Assembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax
C#
protected virtual bool IsRoleAuthorizedPerProjectInternal(
	int projectId,
	string permissionName,
	UserInfo userInfo,
	int siteId
)

Parameters

projectId
Type: SystemInt32
ID of the project 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: Boolean
See Also