How change launch icon programatically

I have a app and i want to change my app launch icon in runtime dependent of login client . how make this?