ProjectTaskInfoProviderIsAuthorizedPerTask Method (Int32, String, CurrentUserInfo, Int32) |
Indicates whether specified user has assigned specific permission for the specified task.
Namespace: CMS.ProjectManagementAssembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax public static bool IsAuthorizedPerTask(
int taskId,
string permissionName,
CurrentUserInfo currentUser,
int siteId
)
Parameters
- taskId
- Type: SystemInt32
ID of the task to check permission for - permissionName
- Type: SystemString
Name of the permission - currentUser
- Type: CMS.MembershipCurrentUserInfo
The current user - siteId
- Type: SystemInt32
The site id
Return Value
Type:
BooleanSee Also