Create run-as-account with less secure option in C#

Hi all,
Is there any way I can create run-as-account using C# code with less secure option.
I have referred this code.
ManagementGroup managementGroup = ManagementGroup.Connect(System.Environment.MachineName);
Microsoft.EnterpriseManagement.Security.SimpleCredentialSecureData runAsAccount = new Microsoft.EnterpriseManagement.Security.SimpleCredentialSecureData();
runAsAccount.Data = ConvertToSecureString("sample");
runAsAccount.Description = "Sample run_as_account_description";
runAsAccount.Name = "Run_as_account";
runAsAccount.UserName = "sample@abc";
managementGroup.Security.InsertSecureData(runAsAccount);
But it creates account with more secure option.

Hi,
I searched the internet and found below link about SecureData type, not sure whether it can be useful for you as I am not familiar with
SimpleCredentialSecureData() method, but you may refer to it and check it.
SecureDataType Enumeration
http://msdn.microsoft.com/en-us/library/hh964361.aspx
In addition, I would liketo suggest you also post in the MSDN forum for coding issue.
Regards,
Yan Li
Regards, Yan Li

Similar Messages

  • How to create a US account with the same apple ID as my current account

    I received a US itunes card given as a gift and it will not redeem in the itunes store since it says I need to have a US itunes account which I do not. Mine is from another country.
    I emailed support and they said I could not use the itunes card nor can I transfer the credit to my itunes account for my country(even if it is still in US$). Though they did say that It was possible to create a US account with the same apple ID. I tried it but when I try to register a US account, in the end it says that the apple ID is taken.
    Can anyone help?
    Thanks.

    You can't use the same ID because it is possible to change countries on accounts.  The other person using your ID is you!  However, technically you can only use the store in a country if you are actually present in the country, and you have to have a credit card billed to an address in the country as proof.
    I guess the person at Apple isn't familiar with hte details of thir own legal documents, and you would either have to try to change country on your account (which may run into issues) or start a second account in hte other country (which again may not be easy, nor legal).
    The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE
    Find somebody you know in the USA and give them a nice present.

  • I cant access my account as I tunes says no one with my e-mail address exists. If I try to create a new account with my e-mail address, I am told this address is already in use?

    I have had an account for some time. I tried to log on yesterday to be told my credetials were wrong. I tried to reset my password but get 'your session timed out' message after less than 30 seconds! (happened 4 times). I then tried to access my account with my e-mail address. I am tols that there is no account with thaqt e-mail address, but if I try to create a new account with my e-mail address, I am told that address is already in use. To get to this community page I have had to create a new account with a new gmail address. I want to get to my main account as I have credit on that one. Please help?
    gerryfrom hatfield.

    Hello gerryfromhatfield,
    There is a process, an article about how to find your apple id and get access to it. It is named Apple ID: Finding your Apple ID found here: http://support.apple.com/kb/HT5625?viewlocale=en_US
    You start at the top, and work your way down.
    If you can't remember your Apple ID, you can find it by using the password retrieval process at My Apple ID. Follow these steps to recover your Apple ID name:
    Go to My Apple ID and click "Find your Apple ID."
    Complete all the required fields that might be associated with your Apple ID.
    Note: If multiple email addresses have an Apple ID, select your current or most recently used email address.
    All the best,
    Sterling

  • I am trying to create another email account with talk talk. and I keep getting a failed message saying 'mail could not log into the mail server talk talk. Yet I already have another email account with talk talk. Not sure what I am doing wrong

    I am trying to create another email account with Talktalk. I already have one account.
    I try to input the new email address and password and get a failed message
    'Mail could not lot into the mail server talktalk.net.
    I have tried several times and keep getting the same message.
    Any ideas

    Accessing your emails from any computer connected to the Internet or from a Smart phone should be straightforward.
    For help on how to set up your e-mail on some of the most common software applications and devices, see How do I set up my TalkTalk email?
    If your software application or device isn't listed, all you need to connect to your TalkTalk e-mail mailbox are the TalkTalk e-mail settings. Make sure you use the right email settings for your specific email address.
    TalkTalk email addresses only
    Login / Username
    [email protected]
    [email protected]
    Incoming mail server
    mail.talktalk.net
    mail.talktalk.net
    Incoming Port
    110
    143
    Outgoing mail server
    smtp.talktalk.net
    smtp.talktalk.net
    Outgoing Port
    587
    587
    Outgoing SSL
    Yes
    Yes
    Outgoing Authentication
    Yes
    Yes

  • Can i create an apple account with an app store card, or do i Need an itunes card?

    Can i create an apple account with an app store card, or do i Need an itunes card?

    You need an iTunes card.
    You can setup an account without a credit card if that helps.
    http://support.apple.com/kb/ht2534
    I found this in the iTunes help menu.
    Redeem an iTunes allowance, gift certificate, or Gift Card
    If you received an iTunes Store allowance, gift certificate, iTunes Gift Card, or promotional code, you can use it to buy songs, videos, or audiobooks from the iTunes Store.
    You need to set up an Apple ID for use with the iTunes Store before you can redeem anything in the iTunes Store. You don’t need to enter credit card information to redeem only the amount of a gift certificate or card.
    Before redeeming anything, make sure you are signed into the iTunes Store (choose Store > Sign In, or select Sign In from the navigation bar at the top of the iTunes Store window):
    I don't see any mention of App Store cards.

  • I have 2 iPhones and one iPad. Can i create individual icloud accounts with one itunes account?

    I have 2 iPhones and 1 iPad. Can I create individual icloud accounts with one iTunes account?

    I have 3 emails and 3 devices. I just want to be able to share the purchased music/apps but keep pictures/contacts etc separate. Is this possible??

  • HT4897 I created an alias precisely because I wanted to make it the new default name and then quickly realized it wasn't possible. How long after deleting the alias will it become available again so that I can create a new account with it?

    I created an alias precisely because I wanted to make it the new default name and then quickly realized it wasn't possible. How long after deleting the alias will it become available again so that I can create a new account with it?
    I'm trying to make iCloud mail my primary email but I'm concerned that I may have lost the perfect email address forever.

    I have the same problem. After our wedding I've created an alias ([email protected]) to my actual AppleID Account ([email protected]). Now I'd the idea to delete the alias and my actual AppleID to create a new AppleID with ([email protected]).
    Is there really no possibilty to do this?
    Thanks in advance for quick and positive feedback.

  • Create G/L Accounts with Reference

    Hi all
    pls explain me what is the use this step

    Hello,
    You can create a GL account with Reference using t-code FS00. The reference functionality allows accounts to be created by copying the attributes of an existing account.
    You can copy the G/L account master records from this reference company code and edit the data in your target company code before creating the master records.
    When editing the copied G/L account master records, you can easily change the account numbers and names
    You can limit the number of accounts to be copied by entering a number range.
    The G/L account master records copied are displayed in a table. You can change the account number and name and can save the changes in the table without saving the G/L accounts.
    You can check to see if the table contains accounts without a name or with identical account numbers.
    Hope this helps.

  • Validation Rules: create a dummy account with constant value 0

    Hi,
    I need to define a control like the following:
    TA00000 >= 0
    I think that I need to create a dummy account with constant value 0 and compare TA00000 against it. I need help to create the dummy account because I'm not sure if I have to use a script logic or not. If anybody could help, I would be very grateful.
    Thanks in advance.
    Almudena

    Hi,
    Thank you for your answer. It works perfectly.
    I have other question related to validation rules. I need to create a validation like this:
    A39300 + A39110 + A39130 + A39010 >= H97300
    It is not supported in BPC NW version to leave blank in ACCOUNT_R in details of validation rule. Do you know how I could define this control?
    Thanks in advance.
    Almudena

  • HT201209 To create an iTunes account with a gift card, I receive this message at the end: Contact iTunes support to complete your transaction. What the **** is it?

    To create an iTunes account with a gift card, I receive this message at the end: Contact iTunes support to complete your transaction. And then, nothing! What the **** is it?

    It means contact itunes support

  • [svn] 1433: adding 'console' security constraint to MBeanServerGateway remote object for MBean tests and ds-console , used when running on Websphere with administrative security enabled.

    Revision: 1433
    Author: [email protected]
    Date: 2008-04-28 13:13:12 -0700 (Mon, 28 Apr 2008)
    Log Message:
    adding 'console' security constraint to MBeanServerGateway remote object for MBean tests and ds-console, used when running on Websphere with administrative security enabled. Should call setCredentials("bob","bob1") to use this RO.
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.xml

    Hi,
    It seems that you were using Hyper-V Remote Management Configuration Utility from the link
    http://code.msdn.microsoft.com/HVRemote, if so, you can refer to the following link.
    Configure Hyper-V Remote Management in seconds
    http://blogs.technet.com/jhoward/archive/2008/11/14/configure-hyper-v-remote-management-in-seconds.aspx
    By the way, if you want to perform the further research about Hyper-V Remote Management Configuration Utility, it is recommend that you to get further
    support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding.
    For your convenience, I have list the related link as followed.
    Discussions for Hyper-V Remote Management Configuration Utility
    http://code.msdn.microsoft.com/HVRemote/Thread/List.aspx
    Best Regards,
    Vincent Hu

  • When I create a new account with same password is ...

    Over the course of inactivity it happened that I forgot my passwords. I did not request a reset but created a new account with the same e-mail. Can I have several accounts with the same e-mail? And if so, how do I request a reset of password for a specific username resp. account? I would like to keep the old user accounts for several reasons. But requesting a reset via e-mail will do so on my newest account for which I know the password.
    Am I trying to do something impossible?

    as far as I remember, accounts are tagged as inactive after 6 months of no activity.  
    In your case, I think you may need to contact customer service for further assistance.
    Just click the link below to see the instructions on how you can get in touch with the Support team ;
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • HT4759 i lost my i phone, can i create i cloud account with apple id

    i lost my i phone, can i create i cloud account with apple id?

    sunilBD wrote:
    i lost my i phone,
    If Find my iPhone was not activated Before the Device was lost... it is too late to do it now.
    Lost or Stolen iOS device > http://support.apple.com/kb/HT5668

  • Create Run As Accounts - Error 635 unable to securely store the password information

    Hello,
    I'm running on SCVMM 2012 R2.
    When I try to create a new Run As Accounts the jobs fail with the error
    Virtual Machine Manager is unable to securely store the password informaiton on this machine.
    Ensure that the Microsoft Cryptographic Service has been installed on the VMM management server and try the operation again.
    ID: 635.
    I have make no modification and the server run since month without problem. I have more than 30 run as account existing.
    Now I have installed all the latest patch but without any success.
    All I can find is to uninstall VMM and install it back, but this is only a last resort solution for me.
    Where can I find more logs information on this issue?
    Regards
    MCITP: Enterprise Messaging Administrator 2010 MCTS: Lync Server 2010, Configuring MCSE

    I'm trying now to re-install the server but with no luck so far as the installer throw me an erro 1603 at the SSL cert creation step..
    MCITP: Enterprise Messaging Administrator 2010 MCTS: Lync Server 2010, Configuring MCSE

  • HT2589 i have another account that has money in it already  but i had forgotten my security answers so i created a new account with a recovery email but my money is not added into my new account. how can i recover the money and added to my new account

    i created a new account because i had forgotten my security answers. now the problem is that the money i had in my other account wasnt transffered to my new account, even thou i put in a retreive  email address into my new acount. how can i tranffer the money into my new account?

    You can't transfer a balance from one account to another account, it can only be used on the account that it was originally redeemed onto.
    If on your old account you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address on it then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

Maybe you are looking for