Dear Sirs, does SID always have the same length ? I want to extract user's RID from user's SID. User's SID is composed of domain's SID + user's RID. does domain SID always have the same length ? Cheers, Ilia Chipitsine