Get Group Details from Person or Group field using REST API?

Try using this:


Above is working fine for me in case of person or group.



Output: Below is part of response returned from above API call

    <content type="application/xml">
            <d:Title>Ganesh Sanap</d:Title>
    <content type="application/xml">
            <d:Title>SPConnect Members</d:Title>

Where SPConnect Members is a Microsoft 365 group name.

Note: This will not work for SharePoint groups as they don’t have Email property.

sql server – A fatal PeopleCode SQL error occurred. Please consult your system log for details

sql server – A fatal PeopleCode SQL error occurred. Please consult your system log for details – Database Administrators Stack Exchange

Android Studio | Recompile with -Xlint:deprecation for details pero sin error aparente

Estoy haciendo un reproductor de musica de un tutorial que encontre en github y lo segui paso a paso sin irme a otros lados a hacer o deshacer y en realidad no me marca ningun error o mensaje del porque estoy mal mas aparte del mensaje al ejectur mi app donde al instalarla en mi telefono entra y se sale rapidamente dejando de responder, no logro percibir la libreria obsoleta o el que parte de codigo esta aparentemente bien pero mal en el fondo:

Note: uses or overrides a deprecated API. Recompile with -Xlint:deprecation for details.

Aca esta mi codigo para que me puedan proporcionar ayuda:

import java.util.ArrayList;
import java.util.Random;

import android.content.ContentUris;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.os.PowerManager;
import android.util.Log;

public class MusicService extends Service implements
        MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener,
        MediaPlayer.OnCompletionListener {
    //media player
    private MediaPlayer player;
    //song list
    private ArrayList<Song> songs;
    //current position
    private int songPosn;
    private final IBinder musicBind = new MusicBinder();
    //title of current song
    private String songTitle="";
    //notification id
    private static final int NOTIFY_ID=1;
    //shuffle flag and random
    private boolean shuffle=false;
    private Random rand;

    public void onCreate(){
        //create the service
        //initialize position
        rand=new Random();
        //create player
        player = new MediaPlayer();

    public void initMusicPlayer(){
        //set player properties
        //set listeners

    //pass song list
    public void setList(ArrayList<Song> theSongs){


    public class MusicBinder extends Binder {
        MusicService getService() {

            return MusicService.this;

    //activity will bind to service

    public IBinder onBind(Intent intent) {
        return musicBind;

    //release resources when unbind

    public boolean onUnbind(Intent intent){
        return false;

    //play a song
    public void playSong(){
        //get song
        Song playSong = songs.get(songPosn);
        //get title
        //get id
        long currSong = playSong.getID();
        //set uri
        Uri trackUri = ContentUris.withAppendedId(
        //set the data source
            player.setDataSource(getApplicationContext(), trackUri);
        catch(Exception e){
            Log.e("MUSIC SERVICE", "Error setting data source", e);

    //set the song
    public void setSong(int songIndex){


    public void onCompletion(MediaPlayer mp) {
        //check if playback has reached the end of a track

    public boolean onError(MediaPlayer mp, int what, int extra) {
        Log.v("MUSIC PLAYER", "Playback Error");
        return false;

    public void onPrepared(MediaPlayer mp) {
        //start playback
        Intent notIntent = new Intent(this, MainActivity.class);
        PendingIntent pendInt = PendingIntent.getActivity(this, 0,
                notIntent, PendingIntent.FLAG_UPDATE_CURRENT);

        Notification.Builder builder = new Notification.Builder(this);

        Notification not =;
        startForeground(NOTIFY_ID, not);

    //playback methods
    public int getPosn(){

        return player.getCurrentPosition();

    public int getDur(){

        return player.getDuration();

    public boolean isPng(){

        return player.isPlaying();

    public void pausePlayer(){


    public void seek(int posn){


    public void go(){


    //skip to previous track
    public void playPrev(){
        if(songPosn<0) songPosn=songs.size()-1;

    //skip to next
    public void playNext(){
            int newSong = songPosn;
            if(songPosn>=songs.size()) songPosn=0;

    public void onDestroy() {

    //toggle shuffle
    public void setShuffle(){
        shuffle= !shuffle;


En android studio no me marca nada, dice que estoy bien:

(!(Imagen de referencia de mi codigo)(1))(1)

No se en que libreria este obsoleta o que parte del codigo este mal internamente 
ademas de que estuve revisando las librerias que importe desde el android studio y ninguna me aparece como que necesita ser actualizada o que es obsoleta

unity android build error: failed to update android sdk tool . see the console for details

when I build my android game in unity. an error occurs. it says: failed to update android sdk tool.see the console for details. and sometimes it says that I must download command line tools(latest). and I watched all the YouTube videos and opened all google links…and it didn’t work. and I downloaded android studio and downloaded the command line tools. and it didn’t work. I tried my best but I can’t find a soulution

plugins – Woocommerce: hide the order details if subscription cancelled

I am trying to figure out how to hide order details customer account with woocommerce subscription. I manage to find the hook

add_action( 'woocommerce_customer_changed_subscription_to_cancelled', 'hide_details_if_cancelled' );

    function hide_details_if_cancelled( $subscription ) {
      if ( 'cancelled' === $subscription->get_status() ) {

i need to hide the following parts contain following classes on customer subscription page

.shop_table order_details



Purpose to hide is, i am using plugin called self-service dashboard, which allow to switch and change quanitity of subscription. However even subscription is cancelled, buttons are still visible and allow customer to change quantity and item kg for ordered subscription product as well allow customer to add the product to subscription.

So its better to disable those options as well if subscription is cancelled to stop letting customer perform any action for specific subscription page.

magento 1.9 – Paymentsense double details entry

I have a Magento 1 site using paymentsense offsite payment.

When you go to the checkout you checkout as guest and enter all you normal details. Then when it comes to the payment info tab it asks for card details etc then you hit checkout and it takes you off to the paymentsense page where you have all the address stuff prefilled but it ask you for card detail again.

The issue is that this only happens for certain user’s other users don’t get the payment entry on the Magento site only on the paymentsense page.

Why are these two different issues scenarios happening randomly to different people.

It also does that if it happens to you that’s it… no matter what browser or computer on the WiFi you see it – Almost IP relate.

Tried it on my phone on WiFi didn’t see the double entry, tried again on 3g and it happens.

I have no other payment gateways setup.

Anyone else see this issue?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123