Method | Description | |
---|---|---|
GetNetworkCredentialAuthenticatedContext ( string siteUrl, string user, string password, string domain ) : ClientContext |
Returns a SharePoint on-premises / SharePoint Online Dedicated ClientContext object
|
|
GetSecureString ( string input ) : |
||
GetSharePointOnlineAuthenticatedContextTenant ( string siteUrl, string tenantUser, string tenantUserPassword ) : ClientContext |
Returns a SharePointOnline 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 |
return | ClientContext |
public GetSecureString ( string input ) : |
||
input | string | |
return |
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 |
return | ClientContext |