• I got the answer

    xp_logininfo 'Login_name', 'members'