getUserMembership

Function

Get the User Membership for a particular group. Use this if all you have is the groupId. If you have the group object, check the userMembership.memberType property instead of calling this method.

Parameters

Parameter Type Default Notes
requestOptions Required IGroupSharingRequestOptions

Returns

Promise<GroupMembership> - A Promise that resolves with "owner" | "admin" | "member" | "nonmember"


Function defined in packages/arcgis-rest-sharing/src/helpers.ts:71