C# 클래스 Transformation.PowerShell.Common.AuthenticationHelper

파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation 1 사용 예제들

공개 메소드들

메소드 설명
GetNetworkCredentialAuthenticatedContext ( string siteUrl, string user, string password, string domain ) : ClientContext

Returns a SharePoint on-premises / SharePoint Online Dedicated ClientContext object

GetSecureString ( string input ) : SecureString
GetSharePointOnlineAuthenticatedContextTenant ( string siteUrl, string tenantUser, string tenantUserPassword ) : ClientContext

Returns a SharePointOnline ClientContext object

메소드 상세

GetNetworkCredentialAuthenticatedContext() 공개 메소드

Returns a SharePoint on-premises / SharePoint Online Dedicated ClientContext object
public GetNetworkCredentialAuthenticatedContext ( string siteUrl, string user, string password, string domain ) : ClientContext
siteUrl string Site for which the ClientContext object will be instantiated
user string User to be used to instantiate the ClientContext object
password string Password of the user used to instantiate the ClientContext object
domain string Domain of the user used to instantiate the ClientContext object
리턴 ClientContext

GetSecureString() 공개 메소드

public GetSecureString ( string input ) : SecureString
input string
리턴 System.Security.SecureString

GetSharePointOnlineAuthenticatedContextTenant() 공개 메소드

Returns a SharePointOnline ClientContext object
public GetSharePointOnlineAuthenticatedContextTenant ( string siteUrl, string tenantUser, string tenantUserPassword ) : ClientContext
siteUrl string Site for which the ClientContext object will be instantiated
tenantUser string User to be used to instantiate the ClientContext object
tenantUserPassword string Password of the user used to instantiate the ClientContext object
리턴 ClientContext