get rcmd for user