Given the id of a 12d model element share, and an optional user, get the id of the owning 12d model project

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

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

Parameters

share_id
Type: EntityID

the id of the share

user_id
Type: EntityID

the user id -if null, no permissions check done

db
Type: IDatabase

the db to use

file_id
Type: EntityID

Return Value

Type: EntityID

the td project id

.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