Assign user access to a project

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

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
Type: EntityID

the id of the project

user_id
Type: EntityID

the id of the user

access
Type: RoleAccessType

the access type (a mask of enums)

changed_by_id
Type: EntityID

db
Type: 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