Table of contents
TOC
Collapse the table of content
Expand the table of content

YammerUtility.GetYammerGroupById Method

SharePoint Dev Documents|Last Updated: 6/28/2017
|
1 Contributor

Returns Yammer Group if group exists. If the group does not exist, returns null.

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static YammerGroup GetYammerGroupById(Int32 groupId, String accessToken)

Parameters

groupId

  Type: System.Int32
  Group Id to search for

accessToken

  Type: System.String
  accessToken will have all the required permissions to update or retrieve data to Yammer on behalf of the user

Return Value

Type: YammerGroup
Returns Yammer Group is group exists. If group does not exists, returns null.

See also

© 2018 Microsoft