CredentialAttribute Class

Definition

Defines the attribute used to designate a cmdlet parameter as one that should accept credentials.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=false)]
public sealed class CredentialAttribute : System.Management.Automation.ArgumentTransformationAttribute
Inheritance
Attributes

Constructors

CredentialAttribute()

Properties

TransformNullOptionalParameters

Methods

Transform(EngineIntrinsics, Object)

Transforms the input data to an PSCredential.