C# Class Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeBuilder

Afficher le fichier Open project: Tirasa/ConnId Class Usage Examples

Méthodes publiques

Méthode Description
AddValue ( ) : ConnectorAttributeBuilder
AddValue ( ICollection values ) : ConnectorAttributeBuilder
Build ( ) : ConnectorAttribute
Build ( String name ) : ConnectorAttribute
Build ( String name, ICollection val ) : ConnectorAttribute
BuildCurrentPassword ( GuardedString password ) : ConnectorAttribute

Builds the operational attribute current password.

The current password indicates this a password change by the account owner and not an administrator. The use case is that an administrator password change may not keep history or validate against policy.

BuildCurrentPassword ( SecureString password ) : ConnectorAttribute
BuildDisableDate ( System.DateTime date ) : ConnectorAttribute

Builds out an operational ConnectorAttribute that determines the disable date for an object.

BuildDisableDate ( long date ) : ConnectorAttribute

Builds out an operational ConnectorAttribute that determines the disable date for an object.

The time parameter is UTC in milliseconds.

BuildEnableDate ( System.DateTime date ) : ConnectorAttribute

Builds out an operational ConnectorAttribute that determines the enable date for an object.

BuildEnableDate ( long date ) : ConnectorAttribute

Builds out an operational ConnectorAttribute that determines the enable date for an object.

The time parameter is UTC in milliseconds.

BuildEnabled ( bool val ) : ConnectorAttribute

Builds ant operational attribute that either represents the object is enabled or sets in disabled depending on where its used for instance on CreateApiOp it could be used to create a disabled account.

In SearchApiOp it would show the object is enabled or disabled.

BuildLastLoginDate ( System.DateTime date ) : ConnectorAttribute

Builds out a pre-defined ConnectorAttribute that determines the last login date for an object.

BuildLastLoginDate ( long date ) : ConnectorAttribute

Builds out a pre-defined ConnectorAttribute that determines the last login date for an object.

The time parameter is UTC in milliseconds.

BuildLastPasswordChangeDate ( System.DateTime date ) : ConnectorAttribute

Builds out a pre-defined ConnectorAttribute that determines the last password change date for an object.

BuildLastPasswordChangeDate ( long date ) : ConnectorAttribute

Builds out a pre-defined ConnectorAttribute that determines the last password change date for an object.

BuildLockOut ( bool lck ) : ConnectorAttribute

Builds the lock attribute that determines if an object is locked out.

BuildPassword ( GuardedString password ) : ConnectorAttribute

Builds the operational attribute password.

BuildPassword ( SecureString password ) : ConnectorAttribute
BuildPasswordChangeInterval ( long val ) : ConnectorAttribute

Common password policy attribute where the password must be changed every so often.

The value for this attribute is milliseconds since its the lowest common denominator.

BuildPasswordExpirationDate ( System.DateTime dateTime ) : ConnectorAttribute

Builds an password expiration date ConnectorAttribute.

This ConnectorAttribute represents the date/time a password will expire on a resource.

BuildPasswordExpirationDate ( long dateTime ) : ConnectorAttribute

Builds an password expiration date ConnectorAttribute.

This ConnectorAttribute represents the date/time a password will expire on a resource.

BuildPasswordExpired ( bool expired ) : ConnectorAttribute

Builds out an operational ConnectorAttribute that determines if a password is expired or expires a password.

ConnectorAttributeBuilder ( ) : System

Private Methods

Méthode Description
AddValuesInternal ( IEnumerable values ) : void
CheckSingleValue ( ) : void
GetSingleStringValue ( ) : String

Method Details

AddValue() public méthode

public AddValue ( ) : ConnectorAttributeBuilder
Résultat ConnectorAttributeBuilder

AddValue() public méthode

public AddValue ( ICollection values ) : ConnectorAttributeBuilder
values ICollection
Résultat ConnectorAttributeBuilder

Build() public méthode

public Build ( ) : ConnectorAttribute
Résultat ConnectorAttribute

Build() public static méthode

public static Build ( String name ) : ConnectorAttribute
name String
Résultat ConnectorAttribute

Build() public static méthode

public static Build ( String name, ICollection val ) : ConnectorAttribute
name String
val ICollection
Résultat ConnectorAttribute

BuildCurrentPassword() public static méthode

Builds the operational attribute current password.
The current password indicates this a password change by the account owner and not an administrator. The use case is that an administrator password change may not keep history or validate against policy.
public static BuildCurrentPassword ( GuardedString password ) : ConnectorAttribute
password GuardedString the string that represents a password.
Résultat ConnectorAttribute

BuildCurrentPassword() public static méthode

public static BuildCurrentPassword ( SecureString password ) : ConnectorAttribute
password System.Security.SecureString
Résultat ConnectorAttribute

BuildDisableDate() public static méthode

Builds out an operational ConnectorAttribute that determines the disable date for an object.
public static BuildDisableDate ( System.DateTime date ) : ConnectorAttribute
date System.DateTime The date and time to enable a particular object, or the date /// time an object will be enabled.
Résultat ConnectorAttribute

BuildDisableDate() public static méthode

Builds out an operational ConnectorAttribute that determines the disable date for an object.
The time parameter is UTC in milliseconds.
public static BuildDisableDate ( long date ) : ConnectorAttribute
date long The date and time to enable a particular object, or the date /// time an object will be enabled.
Résultat ConnectorAttribute

BuildEnableDate() public static méthode

Builds out an operational ConnectorAttribute that determines the enable date for an object.
public static BuildEnableDate ( System.DateTime date ) : ConnectorAttribute
date System.DateTime The date and time to enable a particular object, or the date /// time an object will be enabled.
Résultat ConnectorAttribute

BuildEnableDate() public static méthode

Builds out an operational ConnectorAttribute that determines the enable date for an object.
The time parameter is UTC in milliseconds.
public static BuildEnableDate ( long date ) : ConnectorAttribute
date long The date and time to enable a particular object, or the date /// time an object will be enabled.
Résultat ConnectorAttribute

BuildEnabled() public static méthode

Builds ant operational attribute that either represents the object is enabled or sets in disabled depending on where its used for instance on CreateApiOp it could be used to create a disabled account.
In SearchApiOp it would show the object is enabled or disabled.
public static BuildEnabled ( bool val ) : ConnectorAttribute
val bool
Résultat ConnectorAttribute

BuildLastLoginDate() public static méthode

Builds out a pre-defined ConnectorAttribute that determines the last login date for an object.
public static BuildLastLoginDate ( System.DateTime date ) : ConnectorAttribute
date System.DateTime The date and time of the last login.
Résultat ConnectorAttribute

BuildLastLoginDate() public static méthode

Builds out a pre-defined ConnectorAttribute that determines the last login date for an object.
The time parameter is UTC in milliseconds.
public static BuildLastLoginDate ( long date ) : ConnectorAttribute
date long The date and time of the last login.
Résultat ConnectorAttribute

BuildLastPasswordChangeDate() public static méthode

Builds out a pre-defined ConnectorAttribute that determines the last password change date for an object.
public static BuildLastPasswordChangeDate ( System.DateTime date ) : ConnectorAttribute
date System.DateTime The date and time the password was changed.
Résultat ConnectorAttribute

BuildLastPasswordChangeDate() public static méthode

Builds out a pre-defined ConnectorAttribute that determines the last password change date for an object.
public static BuildLastPasswordChangeDate ( long date ) : ConnectorAttribute
date long The date and time the password was changed.
Résultat ConnectorAttribute

BuildLockOut() public static méthode

Builds the lock attribute that determines if an object is locked out.
public static BuildLockOut ( bool lck ) : ConnectorAttribute
lck bool
Résultat ConnectorAttribute

BuildPassword() public static méthode

Builds the operational attribute password.
public static BuildPassword ( GuardedString password ) : ConnectorAttribute
password GuardedString the string that represents a password.
Résultat ConnectorAttribute

BuildPassword() public static méthode

public static BuildPassword ( SecureString password ) : ConnectorAttribute
password System.Security.SecureString
Résultat ConnectorAttribute

BuildPasswordChangeInterval() public static méthode

Common password policy attribute where the password must be changed every so often.
The value for this attribute is milliseconds since its the lowest common denominator.
public static BuildPasswordChangeInterval ( long val ) : ConnectorAttribute
val long
Résultat ConnectorAttribute

BuildPasswordExpirationDate() public static méthode

Builds an password expiration date ConnectorAttribute.
This ConnectorAttribute represents the date/time a password will expire on a resource.
public static BuildPasswordExpirationDate ( System.DateTime dateTime ) : ConnectorAttribute
dateTime System.DateTime UTC time in milliseconds.
Résultat ConnectorAttribute

BuildPasswordExpirationDate() public static méthode

Builds an password expiration date ConnectorAttribute.
This ConnectorAttribute represents the date/time a password will expire on a resource.
public static BuildPasswordExpirationDate ( long dateTime ) : ConnectorAttribute
dateTime long UTC time in milliseconds.
Résultat ConnectorAttribute

BuildPasswordExpired() public static méthode

Builds out an operational ConnectorAttribute that determines if a password is expired or expires a password.
public static BuildPasswordExpired ( bool expired ) : ConnectorAttribute
expired bool
Résultat ConnectorAttribute

ConnectorAttributeBuilder() public méthode

public ConnectorAttributeBuilder ( ) : System
Résultat System