def GetResourceAclSample():
 client = CreateClient()
 for resource in client.GetResources(limit=5).entry:
  acl_feed = client.GetResourceAcl(resource)
  for acl in acl_feed.entry:
   print acl.role.value, acl.scope.type, acl.scope.value

def GetResourceAclSample ( ) : client = CreateClient ( ) for resource in client . GetResources ( limit = 5 ) . entry : acl_feed = client . GetResourceAcl ( resource ) for acl in acl_feed . entry : print acl . role . value , acl . scope . type , acl . scope . value
get and display the acl for a resource .