Create a New License Mapping


Scenario/Problem: You need to create a new license mapping to add to user licensing enforcement.


Solution: Use the New-SPUserLicenseMapping cmdlet with either the SecurityGroup, Role, ClaimType, or Claim parameters.

Before you can add a license mapping to user license enforcement, you need to create a new license mapping object. Use the New-SPUserLicenseMapping cmdlet to create a new variable object, as shown in Listing 11.5.

Listing 11.5. Creating a New License Mapping


$licenseMapping = New-SPUserLicenseMapping -SecurityGroup "Enterprise Admins" -License Enterprise


You can create a mapping against a security group, a forms-based role, a claim type (with the original issuer specified), or a claim itself using the respective parameters. Reviewing the object displays the various properties of the mapping, as shown in Figure 11.3.

Image

Figure 11.3. Viewing a new license mapping object.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.200.180