AccessControlRule

AccessControlRule class

Access control rule.

The AccessControlRule type exposes the following members:

Constructors

NameDescription
AccessControlRule()Initializes a new instance of the AccessControlRule class.
AccessControlRule(scope, role)Initializes a new instance of the AccessControlRule class
AccessControlRule(id, scope, role)Initializes a new instance of the AccessControlRule class
AccessControlRule(id, e_tag, scope, role)Initializes a new instance of the AccessControlRule class

Properties

NameDescription
kindType of the resource
e_tagAn ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.
This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed.
ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.
idIdentifier of the resource.
scopeThe scope of the rule.
roleThe role assigned to the scope.
ACCESS_CONTROL_RULE_KINDType of the resource (“calendar#calendar”).

See Also