It's a basic Background/ Credit Check.
They check your previous employer by contacting them to confirm your tenure . No they do not have the power to look at your NI Cont etc thats a breach of confidentiality.
Previous HSBC Branch Manager
5 years. However this might changed based on the role you are applying for.