Method: AdobeConnect::Group#is_member?
- Defined in:
- lib/adobe_connect/group.rb
#is_member?(email) ⇒ Boolean
Public: Find the member of this group.
email - User’s email address
Returns a boolean.
40 41 42 43 44 45 46 47 48 |
# File 'lib/adobe_connect/group.rb', line 40 def is_member?(email) return false if self.id.nil? response = service.principal_list(:group_id => self.id, :filter_email => email, :filter_is_member => true) !response.at_xpath('//principal').nil? end |