Get the access type a user has
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function GetUserAccess( _
ByVal type As EntityType, _
ByVal entity_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(
EntityType type,
EntityID entity_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(
EntityType type,
EntityID^ entity_id,
EntityID^ user_id,
List<EntityID^>^ groups,
List<EntityID^>^ project_roles,
IDatabase^ db
)
This language is not supported or no code example is available.
Parameters
- type
-
Type: EntityType
- entity_id
-
Type: EntityID
the entity id
- user_id
-
Type: EntityID
the user id
- db
-
Type: IDatabase
the database connection
Return Value
Type: RoleAccessTypethe type of access available