models.sources_for_sid module

class models.sources_for_sid.SourcesForSid(protection_sources=None, sid=None, views=None)[source]

Bases: object

Implementation of the ‘SourcesForSid’ model.

Protection Sources and Views With Access Permissions. Specifies the Protection Sources objects and Views that the specified principal has permissions to access. The principal is specified using a security identifier (SID).

Attributes:
protection_sources (list of ProtectionSource): Array of Protection

Sources. Specifies the Protection Source objects that the specified principal has permissions to access.

sid (string): Specifies the security identifier (SID) of the

principal.

views (list of View): Array of View Names. Specifies the names of the

Views that the specified principal has permissions to access.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.