Table of contents
TOC
Collapse the table of content
Expand the table of content

TimerJob.UseNetworkCredentialsAuthentication Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Prepares the timerjob to operate against SharePoint on-premises with user name password credentials. Sets AuthenticationType to AuthenticationType.NetworkCredentials

Namespace:OfficeDevPnP.Core.Framework.TimerJobs
Assembly: OfficeDevPnP.Core.dll

Syntax

public void UseNetworkCredentialsAuthentication(String samAccountName, String password, String domain)

Parameters

samAccountName

  Type: System.String
  samAccontName of the windows user

password

  Type: System.String
  Password of the windows user

domain

  Type: System.String
  NT domain of the windows user

Return Value

Type: void

See also

© 2018 Microsoft