Skip to content

Instantly share code, notes, and snippets.

@AsishP
Created May 9, 2018 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AsishP/5d95f5a4c46465f808b5f4eceeba8ab8 to your computer and use it in GitHub Desktop.
Save AsishP/5d95f5a4c46465f808b5f4eceeba8ab8 to your computer and use it in GitHub Desktop.
var group = UnifiedGroupsUtility.ListUnifiedGroups(token, mailNickname: url).Where(result => result.MailNickname.ToLower().Equals(alias.ToLower())).First();
// We received a group entity containing information about the group
string groupurl = group.SiteUrl;
string groupId = group.GroupId;
string mailNickName = group.MailNickname;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment