get sid & rid

get SID & RID