MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / set_user

Method set_user

opcua/client/client.py:160–165  ·  view source on GitHub ↗

Set user name for the connection. initial user from the URL will be overwritten

(self, username)

Source from the content-addressed store, hash-verified

158 raise ua.UaError("No matching endpoints: {0}, {1}".format(security_mode, policy_uri))
159
160 def set_user(self, username):
161 """
162 Set user name for the connection.
163 initial user from the URL will be overwritten
164 """
165 self._username = username
166
167 def set_password(self, pwd):
168 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected