How do I specify UID?

Could you tell me more about it?Or can you give some examples?Thanks!