Forum
»
Support
»
API
»
How to get credentials' Load Profile and Local value from .NET API
  Rank: No customerJoined: 7/28/2017(UTC) Posts: 2  Location: California, San Francisco Thanks: 1 times
|
Hi,
I am trying to validate our production environment's VisualCron7.1.6 configuration by .NET API (C#). I need to validate username, Load Profile and Local setting in the defined Credential. From Help deocument, I only found that Credentials.GetUsername to get user name, how can I get the credential's Load Profile and Local value?
Thanks very much!
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 875 times Was thanked: 446 time(s) in 424 post(s)
|
These options are part of "ImpersonationOptions" property of the Credential. It might be, that in very old version like yours - those properties are on the Execute Task instead of in the Credential. |
|
 1 user thanked Support for this useful post.
|
|
|
  Rank: No customerJoined: 7/28/2017(UTC) Posts: 2  Location: California, San Francisco Thanks: 1 times
|
Originally Posted by: Support  These options are part of "ImpersonationOptions" property of the Credential. It might be, that in very old version like yours - those properties are on the Execute Task instead of in the Credential. Thanks, it works. Another question is, I want to get the Credential's Domain info, but Domain property value of NetworkCredentialClass is encrypted. In VisualCron API document of this property Remarks, it says "Needs to be encrypted/decrypted". How can I make it decrypted or how to get the decrypted credential domain info directly? I noticed that there's a class named NetworkCredentialDecryptedClass, but I don't know how to get a list of the current existing credential as this type. Thanks!
|
|
|
|
  Rank: Official supportJoined: 2/23/2008(UTC) Posts: 11,222
Thanks: 875 times Was thanked: 446 time(s) in 424 post(s)
|
Originally Posted by: ecao  Originally Posted by: Support  These options are part of "ImpersonationOptions" property of the Credential. It might be, that in very old version like yours - those properties are on the Execute Task instead of in the Credential. Thanks, it works. Another question is, I want to get the Credential's Domain info, but Domain property value of NetworkCredentialClass is encrypted. In VisualCron API document of this property Remarks, it says "Needs to be encrypted/decrypted". How can I make it decrypted or how to get the decrypted credential domain info directly? I noticed that there's a class named NetworkCredentialDecryptedClass, but I don't know how to get a list of the current existing credential as this type. Thanks! You need to user a newer version which has server.Decrypt( method. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum
»
Support
»
API
»
How to get credentials' Load Profile and Local value from .NET API
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.