[HideModuleNameAttribute]
public sealed class CredUI
<HideModuleNameAttribute>
Public NotInheritable Class CredUI
Dim instance As CredUI
[HideModuleNameAttribute]
public ref class CredUI sealed
[<SealedAttribute>]
[<HideModuleNameAttribute>]
type CredUI = class end
No code example is currently available or this language may not be supported.
CredPackAuthenticationBuffer | Converts a string user name and password into an authentication buffer. Beginning with Windows 8, the CredPackAuthenticationBuffer(CredentialsPackFlags, String, String, IntPtr, Int32) function converts an identity credential into an authentication buffer, which is a SEC_WINNT_AUTH_IDENTITY_EX2 structure. This buffer can be passed to LsaLogonUser, AcquireCredentialsHandle, or other identity provider interfaces. |
CredUICmdLinePromptForCredentials | prompts for and accepts credential information from a user working in a command-line (console) application. The name and password typed by the user are passed back to the calling application for verification. |
CredUIConfirmCredentials | The CredUIConfirmCredentials(String, Boolean) function is called after CredUIPromptForCredentials(CredUiInfo, String, IntPtr, Win32ErrorCode, StringBuilder, Int32, StringBuilder, Int32, Boolean, CredentialsDialogOptions) or CredUICmdLinePromptForCredentials(String, IntPtr, Win32ErrorCode, StringBuilder, UInt32, StringBuilder, UInt32, Boolean, CredentialsDialogOptions), to confirm the validity of the credential harvested. CredUIConfirmCredentials(String, Boolean) must be called if the ExpectConfirmation flag was passed to the "prompt" function, either CredUIPromptForCredentials(CredUiInfo, String, IntPtr, Win32ErrorCode, StringBuilder, Int32, StringBuilder, Int32, Boolean, CredentialsDialogOptions) or CredUICmdLinePromptForCredentials(String, IntPtr, Win32ErrorCode, StringBuilder, UInt32, StringBuilder, UInt32, Boolean, CredentialsDialogOptions), and the "prompt" function returned ERROR_SUCCESS. After calling the "prompt" function and before calling CredUIConfirmCredentials(String, Boolean), the caller must determine whether the credentials are actually valid by using the credentials to access the resource specified by targetName. The results of that validation test are passed to CredUIConfirmCredentials(String, Boolean) in the confirm parameter. |
CredUIParseUserName | Extracts the domain and user account name from a fully qualified user name. |
CredUIPromptForCredentials | Creates and displays a configurable dialog box that accepts credentials information from a user. |
CredUIPromptForWindowsCredentials | Creates and displays a configurable dialog box that allows users to supply credential information by using any credential provider installed on the local computer |
CredUIReadSSOCred | Retrieves the user name for a single logon credential |
CredUIStoreSSOCred | Stores a single logon credential. |
CredUnPackAuthenticationBuffer(CredentialsPackFlags, IntPtr, Int32, IntPtr, Int32, IntPtr, Int32, IntPtr, Int32) | Converts an authentication buffer returned by a call to the CredUIPromptForWindowsCredentials(CredUiInfo, Win32ErrorCode, UInt32, IntPtr, UInt32, IntPtr, UInt32, Boolean, WindowsCredentialsDialogOptions) function into a string user name and password. |
CredUnPackAuthenticationBuffer(CredentialsPackFlags, IntPtr, Int32, StringBuilder, Int32, StringBuilder, Int32, StringBuilder, Int32) | Converts an authentication buffer returned by a call to the CredUIPromptForWindowsCredentials(CredUiInfo, Win32ErrorCode, UInt32, IntPtr, UInt32, IntPtr, UInt32, Boolean, WindowsCredentialsDialogOptions) function into a string user name and password. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |