Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.05 KB

File metadata and controls

44 lines (35 loc) · 1.05 KB

GetProjectUser

Description

For a given userid in the current Project, get their full name and permission level.

Table - Project Sharing Permissions

Permission Level Constant
Read Only 1
Layers-Restricted 2
Layers-Unrestricted 3
Layers and Resources 4
Project 5
Administrative 6
FUNCTION GetProjectUser(
				userId         : STRING;
				VAR fullName   : STRING;
				VAR permission : INTEGER): BOOLEAN;
def vs.GetProjectUser(userId):
    return (BOOLEAN, fullName, permission)

Parameters

Name Type Description
userId STRING The userid to look up
fullName STRING The users full name
permission INTEGER Permission level of the user

See Also

VS Functions: GetProjectUserNames

Version

Availability: from Vectorworks 2016

Category