Folder.GetUserAccess (EntityID, EntityID, List<EntityID>, List<EntityID>, IDatabase) Method

Get the access type a user has to this folder
Public Shared Function GetUserAccess( _ 
ByVal folder_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal groups As List(Of EntityID), _ 
ByVal project_roles As List(Of EntityID), _ 
ByVal db As IDatabase
) As RoleAccessType
This language is not supported or no code example is available.
public static RoleAccessType GetUserAccess( 
EntityID folder_id
EntityID user_id
List<EntityID> groups
List<EntityID> project_roles
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static RoleAccessType GetUserAccess( 
EntityID^ folder_id
EntityID^ user_id
List<EntityID^>^ groups
List<EntityID^>^ project_roles
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
EntityID

the folder id

user_id
EntityID

the user id

groups
List<EntityID>

the list of group memberships

project_roles
List<EntityID>

the list of project roles

db
IDatabase

the database connection

Return Value

RoleAccessType

the type of access available

.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