In order to specify what user is running and downloading a SD package fro the SS, there are 2 ways to do this:
What is the difference between them?
Client Automation 14.5 and above
When the download method is defined to NOS for a particular machine, the SD Agent reads the credentials from the following policies:
Software Library access: UserID
Software Library access: Password
NOTE: Policy found under: Default Computer Policy > DSM > Software Delivery > Shared
And use them to connect to SDLIBRARY$ share to download/copy the Software Package to the machine.
On the other hand, the “setcreds” option (the full command is: caf setcreds sdagent user user1 password abc1234) launches the SD Agent plugin locally in the machine with the defined user (default user is LOCAL SYSTEM). If this user have access to the share SDLIBRARY$, he will be able to access the packages in the share too.
The usage of each will depend on what is better for the environment and what is easier to implement.