public InventoryItemBase GetItem(UUID userId, UUID itemId, UUID parentFolderHint) { //verify this user owns the item InventoryItemBase subjectItem = _storage.GetItem(itemId, parentFolderHint); if (subjectItem != null && subjectItem.Owner != userId) { throw new InventorySecurityException(String.Format("Not retrieving item {0} for user {1}. User does not own the item", subjectItem.ID, userId)); } return(subjectItem); }