Permission#

class ansys.hps.client.jms.Permission(permission_type=<marshmallow.missing>, value_id=<marshmallow.missing>, value_name=<marshmallow.missing>, role=<marshmallow.missing>, **kwargs)#

Provides the permission resource.

Parameters:
permission_typestr

Permission type. Options are 'anyone', 'group', and 'user'.

value_idstr, optional

ID of a user or group.

value_namestr, optional
rolestr

Role of the user. Options are 'admin', 'reader', and 'writer'.

Methods

Permission.declared_fields()

Provides a helper function for retrieving fields to define as class members for an object.

Permission.get(key[, default])