swmgmt code