Yeah pretty much ;P, it takes a couple of years on average at the least before it is granted, not sure if that is kind of a trial period or something, it goes for everyone, doesn't matter if you are from e.g USA or Germany or Iran or Syria.
be able to prove your identity
have reached the age of 18
have a permanent residence permit or a permanent right of residence in Sweden
have lived in Sweden for a specified period
have conducted yourself well in Sweden.