4 Role Model ToC Previous Next

4.4 RoleType ToC Previous Next

4.4.9 AddEndpoint Method ToC Previous Next

This Method is used to add an endpoint mapping rule to a Role.

The Client shall provide user credentials with administrator rights when invoking this Method on 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 Role because of Server imposed restrictions.
Bad_AlreadyExists The Endpoint with the passed settings is already assigned to the Role.
Bad_UserAccessDenied The session user is not allowed to configure the object.

Previous Next