@@ -23,6 +23,7 @@ public class CloneAccount
2323 /// <returns>AssetGroupAccountsResponse</returns>
2424 public static AssetGroupAccountsResponse GetGroupAccounts ( string basePath , string accessToken , Guid ? orgId )
2525 {
26+ //ds-snippet-start:Admin12Step3
2627 DocuSignClient docuSignClient = new DocuSignClient ( basePath ) ;
2728 docuSignClient . Configuration . DefaultHeader . Add ( AuthorizationHeader , Bearer + accessToken ) ;
2829
@@ -33,6 +34,7 @@ public static AssetGroupAccountsResponse GetGroupAccounts(string basePath, strin
3334 } ;
3435
3536 return assetGroupApi . GetAssetGroupAccounts ( orgId , options ) ;
37+ //ds-snippet-end:Admin12Step3
3638 }
3739
3840 /// <summary>
@@ -57,9 +59,12 @@ public static AssetGroupAccountClone CloneGroupAccount(
5759 string targetAccountLastName ,
5860 string targetAccountEmail )
5961 {
62+ //ds-snippet-start:Admin12Step2
6063 var docuSignClient = new DocuSignClient ( basePath ) ;
6164 docuSignClient . Configuration . DefaultHeader . Add ( AuthorizationHeader , Bearer + accessToken ) ;
65+ //ds-snippet-end:Admin12Step2
6266
67+ //ds-snippet-start:Admin12Step4
6368 string countryCode = "US" ;
6469 var accountData = new AssetGroupAccountClone
6570 {
@@ -79,9 +84,12 @@ public static AssetGroupAccountClone CloneGroupAccount(
7984 CountryCode = countryCode ,
8085 } ,
8186 } ;
87+ //ds-snippet-end:Admin12Step4
8288
89+ //ds-snippet-start:Admin12Step5
8390 var assetGroupApi = new ProvisionAssetGroupApi ( docuSignClient ) ;
8491 return assetGroupApi . CloneAssetGroupAccount ( orgId , accountData ) ;
92+ //ds-snippet-end:Admin12Step5
8593 }
8694 }
8795}
0 commit comments