Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

create() - Add inbound user to the configuration

Function:

BcAdminInboundUser.create()

An inbound user, whose properties you must pass to the MC-CLI in a dictionary, is added to the configuration.

Parameters:

object_name (String)

Name of the BeanConnect inbound user

proxy_object
(BcObject of type BcObjectType.PROXY / BcObjectType.PROXY_CLUSTER)

Proxy or proxy cluster to which the inbound user is to be assigned.
The specification of a proxy_object of type BcObjectType.PROXY is not permitted if the proxy belongs to a proxy cluster. In this case, the proxy cluster object must be specified as a parameter here.

props (kw)

Dictionary with the key-value pairs for the properties that are to be assigned to the inbound user. You can find the possible values for key in Properties of an inbound user .

Return:

(BcObject of type BcObjectType.INBOUND_USER)

The inbound user added to the configuration.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Example:

...
import BcAdminInboundUser
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
creProps={"desc":"created","password":"ADMIN"}
usr_obj=BcAdminInboundUser.create("USR",proxy_obj,props=creProps)
...