示例#1
0
 def role_definitions(self):
     """Gets the collection of role definitions for the Web site."""
     return self.properties.get(
         "RoleDefinitions",
         RoleDefinitionCollection(
             self.context,
             ResourcePath("RoleDefinitions", self.resource_path)))
 def role_definition_bindings(self):
     """Specifies a collection of role definitions for this role assignment."""
     return self.properties.get(
         "RoleDefinitionBindings",
         RoleDefinitionCollection(
             self.context,
             ResourcePath("RoleDefinitionBindings", self.resource_path)))