コード例 #1
0
 /// <summary>
 /// Gets a collection that contains the object IDs of the groups of which the
 /// user is a member.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='objectId'>
 /// The object ID of the user for which to get group membership.
 /// </param>
 /// <param name='parameters'>
 /// User filtering parameters.
 /// </param>
 public static IEnumerable <string> GetMemberGroups(this IUsersOperations operations, string objectId, UserGetMemberGroupsParameters parameters)
 {
     return(operations.GetMemberGroupsAsync(objectId, parameters).GetAwaiter().GetResult());
 }