Share via


LdapClaimGeneration Class

 

Defines a way of populating claims for an LDAP-based account store (represented by an LdapDirectoryAccountStore object in the trust policy). Attributes on user objects can be mapped into email, UPN, common name, group, or custom claims. The UPNAttribute property must be null when the LdapClaimGeneration applies to Active Directory.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Web.Security.SingleSignOn.TrustPolicyEntryBase
    System.Web.Security.SingleSignOn.LdapClaimGeneration

Syntax

[ComVisibleAttribute(true)]
public class LdapClaimGeneration : TrustPolicyEntryBase
[ComVisibleAttribute(true)]
public ref class LdapClaimGeneration : TrustPolicyEntryBase
[<ComVisibleAttribute(true)>]
type LdapClaimGeneration = 
    class
        inherit TrustPolicyEntryBase
    end
<ComVisibleAttribute(True)>
Public Class LdapClaimGeneration
    Inherits TrustPolicyEntryBase

Constructors

Name Description
System_CAPS_pubmethod LdapClaimGeneration()

Initializes a new instance of the LdapClaimGeneration class.

Properties

Name Description
System_CAPS_pubproperty CommonNameAttribute

Gets or sets the name of the LDAP attribute from which to populate the common name claim.

System_CAPS_pubproperty CustomClaimLdapAttributes

Gets the CustomClaimLdapAttributeCollection, which indicates how custom claims should be generated from LDAP attribute values.

System_CAPS_pubproperty Disabled

Gets or sets whether the trust with this realm is currently active. If this is set, no tokens will be accepted from this partner.(Inherited from TrustPolicyEntryBase.)

System_CAPS_pubproperty EmailAttribute

Gets or sets the name of the LDAP attribute from which to populate the e-mail claim.

System_CAPS_pubproperty GroupLdapAttributes

Gets or sets the GroupLdapAttributeCollection, which indicates how group claims should be generated from LDAP attribute values.

System_CAPS_pubproperty UPNAttribute

Gets or sets the name of the LDAP attribute from which to populate the UPN claim. This property must be null when the LdapClaimGeneration applies to Active Directory.

System_CAPS_pubproperty uuid

Gets or sets the universal unique identifier (UUID) for this TrustPolicyEntryBase object.(Inherited from TrustPolicyEntryBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The LdapClaimGeneration class is part of the Federation Service’s trust policy configuration.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

LdapDirectoryAccountStore
System.Web.Security.SingleSignOn Namespace

Return to top