def user_to_uid(user):
 if (user is None):
  user = salt.utils.get_user()
 return _user_to_uid(user)

def user_to_uid ( user ) : if ( user is None ) : user = salt . utils . get_user ( ) return _user_to_uid ( user )
convert user name to a uid cli example: .