AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to EnableSsoAsync.

Namespace: Amazon.DirectoryService
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z

Syntax

C#
public abstract EnableSsoResponse EnableSso(
         EnableSsoRequest request
)

Parameters

request
Type: Amazon.DirectoryService.Model.EnableSsoRequest

Container for the necessary parameters to execute the EnableSso service method.

Return Value


The response from the EnableSso service method, as returned by DirectoryService.

Exceptions

ExceptionCondition
AuthenticationFailedException An authentication error occurred.
ClientException A client exception has occurred.
EntityDoesNotExistException The specified entity could not be found.
InsufficientPermissionsException The account does not have sufficient permission to perform the operation.
ServiceException An exception has occurred in Directory Service.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also