ProjectInfoProviderIsAuthorizedPerProject Method |
Returns true if and only if current user is authorized for the specified action.
Namespace: CMS.ProjectManagementAssembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax public static bool IsAuthorizedPerProject(
int projectId,
string permissionName,
CurrentUserInfo currentUser
)
Parameters
- projectId
- Type: SystemInt32
Project ID - permissionName
- Type: SystemString
Name of the permission to check - currentUser
- Type: CMS.MembershipCurrentUserInfo
The current user
Return Value
Type:
BooleanSee Also