Share via


SecurityPropertyCollection Class

 

Defines a collection of SecurityProperty objects.

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

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    System.Web.Security.SingleSignOn.Authorization.SecurityPropertyCollection

Syntax

[SerializableAttribute]
public sealed class SecurityPropertyCollection : CollectionBase
[SerializableAttribute]
public ref class SecurityPropertyCollection sealed : CollectionBase
[<Sealed>]
[<SerializableAttribute>]
type SecurityPropertyCollection = 
    class
        inherit CollectionBase
    end
<SerializableAttribute>
Public NotInheritable Class SecurityPropertyCollection
    Inherits CollectionBase

Constructors

Name Description
System_CAPS_pubmethod SecurityPropertyCollection()

This constructor supports the AD FS infrastructure and is not intended to be used directly from your code. Initializes an empty instance of the SecurityPropertyCollection class.

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from CollectionBase.)

System_CAPS_pubproperty Count

(Inherited from CollectionBase.)

System_CAPS_pubproperty Item[Int32]

Gets or sets the SecurityProperty object at the specified index in this collection.

Methods

Name Description
System_CAPS_pubmethod Add(SecurityProperty)

Adds a specified SecurityProperty object to the collection.

System_CAPS_pubmethod Clear()

(Inherited from CollectionBase.)

System_CAPS_pubmethod Contains(SecurityProperty)

Indicates whether the collection contains the specified SecurityProperty.

System_CAPS_pubmethod CopyTo(SecurityProperty[], Int32)

Copies the collection to the specified array beginning with the specified destination index.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetCustomProperties(String)

Gets a specified set of custom claims from the SecurityPropertyCollection.

System_CAPS_pubmethod GetEnumerator()

(Inherited from CollectionBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetIdentities()

Returns a SecurityPropertyCollection containing all of the SecurityProperty instances in the original collection that represent AD FS Identity claims (i.e. EmailName, CommonName and UPN claims).

System_CAPS_pubmethod GetProperties(String)

Returns a SecurityPropertyCollection containing all of the SecurityProperty instances in the original collection whose Uri attribute is equal to the value of the uri parameter.

System_CAPS_pubmethod GetRoles()

Returns an array of strings containing the values of all the SecurityProperty instances that represent AD FS Group claims.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(SecurityProperty)

Gets the index of the specified SecurityProperty, if it exists in the collection.

System_CAPS_pubmethod Insert(Int32, SecurityProperty)

Inserts a SecurityProperty object into the collection at the specified index.

System_CAPS_pubmethod IsInRole(String)

Allows a user to test if a security principal is a member of a particular group.

System_CAPS_pubmethod Remove(SecurityProperty)

Removes a specified SecurityProperty object from this collection.

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.IsSynchronized

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.SyncRoot

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsFixedSize

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsReadOnly

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.Item[Int32]

(Inherited from CollectionBase.)

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

System.Web.Security.SingleSignOn.Authorization Namespace

Return to top