GroupService.getGroupMembershipForAccount Method

Deprecated - Use getMemberOf(id, includeInherited) instead. Gets the groups for which the account has membership.
 

Parameters

accountId

Type: String
The ID of the account to get the groups for.
includeInherited

Type: Boolean
(optional) True if inherited groups should be included. By default, this is true.
Optional: True

Return Value


Type: jQuery.Promise
Value: Array
Element Value: Group
A promise object that is resolved when the call is complete.