Hi,
I am here under my husbands visa - its called a family visa and I am legally allowed to work here so I don't see that it should be any different for you. It is actually much easier for us as our husbands cannot change jobs without a release from there company but we can change jobs without any sort of restrictions.
Hope you like it here.