READ Free Dumps For Microsoft- 70-488
Question ID 12558 | You need to complete the code at line LV19 to implement the validation of the app license.
Which code segment should you use?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | C |
Explanation Explanation: Scenario: Only users with a paid license can use the app. Topic 3, Coho Winery Background Coho Winery implements a SharePoint farm. They have an intranet site for company employees and an extranet site for their customers. Coho Winery sells products to wholesale and retail customers. Customers must be able to order specific brands and pay directly. Business Requirements Site Collection The company must organize its main enterprise site to have multiple site collections for different wine brands from various regions. Site documents must have a consistent look and feel. New Features The first version (1.0.0.0) of the feature must support the addition of newer functionality when the feature is upgraded to version 1.5.0.0. Technical Requirements General ✑ A Document content type named Finance must be created at the site level. It must contain two site columns named Customer Name and Transaction Date. ✑ The Order Details and Payment Confirmation content types must be derived from the Finance content type. ✑ Workflows associated with document content types must be initiated when documents are generated. ✑ When Payment Confirmation documents are generated, a workflow must send a notification to the customer by email. User Authorization ✑ A custom role named Wholesale must be created. Wholesale customers must be assigned to this role in order to view the promotions page. ✑ A custom permission level must be created. This permission level must add the ViewPages permission to the existing base permissions. This permission level must be added to Wholesale user role. ✑ Anonymous users must be able to browse the site with limited access to resources. ✑ The web application has been created with anonymous access enabled. ✑ Users are prompted for credentials when they browse to the site. Application Lifecycle Management ✑ Versioning of the solution artifacts must adhere to industry best practices.
Question ID 12559 | You need to set the appropriate permission levels.
A variable named customRole references Wholesale.
Which code segment should you add at line UA09?
|
Option A | customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages;
|
Option B | customRole.BasePermissions = _permissions | SPBasePermissions.ViewPages;
|
Option C | customRole.BasePermissions = SPBasePermissions.EmptyMask | SPBasePermissions.ViewPages;
|
Option D | customRole.BasePermissions = SPBasePermissions.ViewPages;
|
Correct Answer | B |
Explanation Explanation: Add the ViewPages permission to the permissions of the variable _permissions. Scenario: User Authorization A custom role named Wholesale must be created. Wholesale customers must be assigned to this role in order to view the promotions page.