Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletContext.GetCredentialSetter Method

Returns an instance of an `ICredentialSetter` for the current portlet response.

ICredentialSetter GetCredentialSetter();

#### Exceptions

Exception Type | Condition
--- | ---
ProtocolNotSupportedException | if the portlet was sent credentials from the Credential Vault. A portlet cannot set the Credential Vault values.

#### See Also

IPortletContext Interface | Plumtree.Remote.Portlet Namespace