MembershipUserCollection.SetReadOnly Method
.NET Framework 2.0
Makes the contents of the membership user collection read-only.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The contents of a MembershipUserCollection are considered read-only, as they are a snapshot of the membership user information in the membership data store. Membership user information is modified using the UpdateUser, CreateUser and DeleteUser methods. The SetReadOnly method marks the MembershipUserCollection as read-only so that MembershipUser objects cannot be added to or removed from the collection. Property values for the MembershipUser objects are not marked as read-only. That is, you can modify the property values of a MembershipUser in the MembershipUserCollection regardless of whether the collection has been marked as read-only by the SetReadOnly method.
Community Additions
ADD
Show: