Modifier

Partager via


PublishLicense.AcquireUseLicense(SecureEnvironment) Method

Definition

Attempts to acquire a UseLicense for a user or user group in a specified SecureEnvironment.

public:
 System::Security::RightsManagement::UseLicense ^ AcquireUseLicense(System::Security::RightsManagement::SecureEnvironment ^ secureEnvironment);
public System.Security.RightsManagement.UseLicense AcquireUseLicense (System.Security.RightsManagement.SecureEnvironment secureEnvironment);
member this.AcquireUseLicense : System.Security.RightsManagement.SecureEnvironment -> System.Security.RightsManagement.UseLicense
Public Function AcquireUseLicense (secureEnvironment As SecureEnvironment) As UseLicense

Parameters

secureEnvironment
SecureEnvironment

The secure environment for license activation and binding.

Returns

The UseLicense for a user or user group in the specified secureEnvironment.

Exceptions

secureEnvironment is null.

The authentication failed.

Applies to

See also