Click or drag to resize
ProjectTaskInfoProviderIsAuthorizedPerTask Method (Int32, String, CurrentUserInfo, Int32)
Indicates whether specified user has assigned specific permission for the specified task.

Namespace: CMS.ProjectManagement
Assembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax
C#
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: Boolean
See Also