Project.AssignUserAccess Method

Assign user access to a project
Public Shared Sub AssignUserAccess( _ 
ByVal project_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal access As RoleAccessType, _ 
ByVal changed_by_id As EntityID, _ 
ByVal db As IDatabase
)
This language is not supported or no code example is available.
public static void AssignUserAccess( 
EntityID project_id
EntityID user_id
RoleAccessType access
EntityID changed_by_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static void AssignUserAccess( 
EntityID^ project_id
EntityID^ user_id
RoleAccessType access
EntityID^ changed_by_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function AssignUserAccess( 
project_id : EntityID
user_id : EntityID
access : RoleAccessType
changed_by_id : EntityID
db : IDatabase 
);
This language is not supported or no code example is available.

Parameters

project_id
EntityID

the id of the project

user_id
EntityID

the id of the user

access
RoleAccessType

the access type (a mask of enums)

changed_by_id
EntityID

db
IDatabase

the db connection to use

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition