Online communities and social software are revolutionizing the way we interact with the web. Analysing the interactions that take place there is complex. Social Network Analysis (SNA) is a powerful way of doing such analysis. This tutorial provides a detailed introduction to SNA. The theory is backed up with a number of practical case studies.