Monday, 21 May 2012

SharePoint 15 Technical preview (Part 1)


Microsoft has released technical preview of APIs related to interoperability with SharePoint 15. After going through the documentation I found following useful APIs:

1.       Assembly: Microsoft.Office.Server.Search

Namespace: Microsoft.Office.Server.Search.Administration

Classes:

           I.            DocumentCrawlLog

Members:

a.       Method Name: DocumentCrawlLog(SPSite)

Description: Constructor

b.      Method Name: GetCrawledUrls(Guid, Boolean, Int64, String, Boolean, Int32, Int32, Int32, DateTime, DateTime)

Description: Retrieves information about the crawled contents.



2.       Assembly: Microsoft.SharePoint

Namespace: Microsoft.SharePoint

Classes:

           I.            SPApplicationCredentials

Description: Provides credentials for application authentication.

         II.            SPApplicationSecurityTokenManager

Members:

a.       Method Name: GetApplicationCredentials

Description: Gets the credentials for application authentication.

       III.            SPAppPrincipalManager

Description: Represents the top level object used to manage app principals.

Members:

a.       Method Name: GetManager

       IV.            SPAppPrincipalPermissionsManager

Descriptions: Manages permissions for SharePoint Web app principals.

Members:

a.       Method Name: AddAppPrincipalToWeb(SPAppPrincipal, SPAppPrincipalPermissionKind)

Description: Grants Web app access to the Web using the specified SPAppPrincipal object and SPAppPrincipalPermissionKind object.

b.      Method Name: AddAppPrincipalToWeb(SPAppPrincipalInfo, SPAppPrincipalPermissionKind)

Description: Grants Web app access to the Web using the specified SPAppPrincipalInfo object and SPAppPrincipalPermissionKind object.

         V.            SPAppPrincipalPermissionKind (Enum)

Description: Specifies the constants that represent the permissions for the app principal.

Members:

a.       None: The app principal has no permissions.

b.      Guest: The app principal has guest permissions.

c.       Read: The app principal has read-only permissions.

d.      Write: The app principal has read-write permissions.

e.      Manage: The app principal has manage permissions.

f.        FullControl: The app principal has full control permissions.

       VI.            SPFileRightsManagementSettings

Description: Represents the Information Rights Management (IRM) settings for file downloads in Microsoft SharePoint Foundation.

Members:

a.       Method Name: SPFileRightsManagementSettings

Description: Initializes a new instance of the SPFileRightsManagementSettings class

Properties:

b.      AllowPrint: Gets or sets a value indicating whether the viewer can print the document.

c.       AllowScript: Gets or sets a value indicating whether the viewer can run script on downloaded document.

d.      AllowWriteCopy: Gets or sets a value indicating whether the viewer can write on a copy of the downloaded document.

e.      DocumentAccessExpireDays: Gets or sets the number of days before a downloaded document will expire.

f.        GroupName: Gets or sets the group name (email address) to which the permission applies.

     VII.            SPLanguageSettings

Description: Represents set of language preferences.

Members:

a.       Method Name: GetGlobalInstalledLanguages

Description: Gets a list of installed languages that are compatible with a given version of SharePoint.

No comments:

Post a Comment