Get the access available to a user for a given file
        Namespace:
SynergyServerScripting.Entities
        
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
	
		
	
	
	
				
			
	
			
				
				
				
					
				
					
			
		
		
		
			
	
			
				
				
				
					
				
					
			
		
		
			
	
			
				
				
				
					
				
					
			
		
		
		
		
	
  
	
	
	
	
	
	
		
  
	
	
						
			
			Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function GetUserAccess( _
ByVal file_id As EntityID, _
ByVal user_id As EntityID, _
ByVal search_upward As Boolean, _
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,
bool search_upward,
IDatabase db
)
This language is not supported or no code example is available.
public:
static RoleAccessType GetUserAccess(
EntityID^ file_id,
EntityID^ user_id,
bool search_upward,
IDatabase^ db
)
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
 
- search_upward
 - 
		Type: bool 
		
whether or not we should search upward through folders etc for permissions
 
- db
 - 
		Type: IDatabase 
		
the database connection
 
Return Value
Type: RoleAccessTypethe access type