Get the access available to a user for a given file

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

Public Shared Function GetUserAccess( _ 
ByVal file_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As RoleAccessType
This language is not supported or no code example is available.
public static RoleAccessType GetUserAccess( 
EntityID file_id
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static RoleAccessType GetUserAccess( 
EntityID^ file_id
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetUserAccess( 
file_id : EntityID
user_id : EntityID
db : IDatabase 
) : RoleAccessType;
This language is not supported or no code example is available.

Parameters

file_id
Type: EntityID

the id of the file

user_id
Type: EntityID

the id of the user

db
Type: IDatabase

the database connection

Return Value

Type: RoleAccessType

the access type

.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