OrganizationAccess ================== A OrganizationAccess resource represents a user's access rights to a specific organization. Resource definition ------------------- .. literalinclude:: _static/OrganizationAccess.json :language: json +-------------------+--------------------------+-------------------------------------------------------------------------+ | Name | Type | Description | +===================+==========================+=========================================================================+ | Id | int | | +-------------------+--------------------------+-------------------------------------------------------------------------+ | Organization | Organization | | +-------------------+--------------------------+-------------------------------------------------------------------------+ | UserId | string | Identitifer of the user | +-------------------+--------------------------+-------------------------------------------------------------------------+ | Role | OrganizationAccessRights | Bitflag, 0=None, 1=User, 2=Administrator, 4=Viewer | +-------------------+--------------------------+-------------------------------------------------------------------------+ | Agreements | List | List of :doc:`/resources/AgreementAccess` | +-------------------+--------------------------+-------------------------------------------------------------------------+ | CrayonCompanyName | string | Name of CrayonCompany the tenant belongs to | +-------------------+--------------------------+-------------------------------------------------------------------------+ | Timestamp | DateTime | Date and time when user recieved the access rights for the first time. | +-------------------+--------------------------+-------------------------------------------------------------------------+ Operations on organization -------------------------- - :doc:`/scenarios/organizationaccess-get`