This Methodis used to add an endpoint mapping rule to a Role.

The Clientshall provide user credentials with administrator rights when invoking this Methodon the Server.

Signature

AddEndpoint(

[in]EndpointType Endpoint

);

Argument

Description

Endpoint

The Endpoint to add.

Method Result Codes

ResultCode

Description

Bad_InvalidArgument

The EndpointUrl is not valid.

Bad_RequestNotAllowed

The mapping cannot be added to the Rolebecause of Serverimposed restrictions.

Bad_AlreadyExists

The Endpointwith the passed settings is already assigned to the Role.

Bad_UserAccessDenied

The session user is not allowed to configure the object.