C# Класс Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeBuilder

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddValuesInternal ( IEnumerable values ) : void
CheckSingleValue ( ) : void
GetSingleStringValue ( ) : String

Описание методов

AddValue() публичный Метод

public AddValue ( ) : ConnectorAttributeBuilder
Результат ConnectorAttributeBuilder

AddValue() публичный Метод

public AddValue ( ICollection values ) : ConnectorAttributeBuilder
values ICollection
Результат ConnectorAttributeBuilder

Build() публичный Метод

public Build ( ) : ConnectorAttribute
Результат ConnectorAttribute

Build() публичный статический Метод

public static Build ( String name ) : ConnectorAttribute
name String
Результат ConnectorAttribute

Build() публичный статический Метод

public static Build ( String name, ICollection val ) : ConnectorAttribute
name String
val ICollection
Результат ConnectorAttribute

BuildCurrentPassword() публичный статический Метод

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.
Результат ConnectorAttribute

BuildCurrentPassword() публичный статический Метод

public static BuildCurrentPassword ( SecureString password ) : ConnectorAttribute
password System.Security.SecureString
Результат ConnectorAttribute

BuildDisableDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildDisableDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildEnableDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildEnableDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildEnabled() публичный статический Метод

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
Результат ConnectorAttribute

BuildLastLoginDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildLastLoginDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildLastPasswordChangeDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildLastPasswordChangeDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildLockOut() публичный статический Метод

Builds the lock attribute that determines if an object is locked out.
public static BuildLockOut ( bool lck ) : ConnectorAttribute
lck bool
Результат ConnectorAttribute

BuildPassword() публичный статический Метод

Builds the operational attribute password.
public static BuildPassword ( GuardedString password ) : ConnectorAttribute
password GuardedString the string that represents a password.
Результат ConnectorAttribute

BuildPassword() публичный статический Метод

public static BuildPassword ( SecureString password ) : ConnectorAttribute
password System.Security.SecureString
Результат ConnectorAttribute

BuildPasswordChangeInterval() публичный статический Метод

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
Результат ConnectorAttribute

BuildPasswordExpirationDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildPasswordExpirationDate() публичный статический Метод

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.
Результат ConnectorAttribute

BuildPasswordExpired() публичный статический Метод

Builds out an operational ConnectorAttribute that determines if a password is expired or expires a password.
public static BuildPasswordExpired ( bool expired ) : ConnectorAttribute
expired bool
Результат ConnectorAttribute

ConnectorAttributeBuilder() публичный Метод

public ConnectorAttributeBuilder ( ) : System
Результат System