# File lib/s3/right_s3.rb, line 803 def type case @id when /^http:/ then "Group" when /@/ then "AmazonCustomerByEmail" else "CanonicalUser" end end