Contact members
Represents data from the Contact Selector control.
The Contact type exposes the following members.
Properties
Name | Description | |
---|---|---|
DisplayName | Gets the display name of a person or a group. | |
EmailAddress | Gets the e-mail address of a person or a group. | |
IsCollection | Indicates whether the Contact object represents a collection. | |
IsSPUser | Indicates whether a person is a user of Microsoft Windows SharePoint Services. | |
LoginName | Gets the logon name of a person or group. | |
PrincipalID | Gets the unique identifier for the principal object. | |
PrincipalType | Gets the type of principal object. | |
Xml | Gets the XML for the contact. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) | |
Equals(Contact) | ||
ExpandGroups(SPWeb, [], Int32, Boolean) | Recursively expands any security groups, SharePoint groups, or distribution lists into individual users, given an array of Contact objects. | |
Finalize | (Inherited from Object.) | |
FromDisplayNameAndEmailAddress(String, String) | Gets a Contact object for a user, given the user's display name and e-mail address. | |
FromName(String, SPWeb) | Gets a Contact object, given the name of a user. | |
FromPrincipal(SPPrincipal) | Gets a Contact object for a given principal object. | |
FromPrincipalID(Int32, SPWeb) | Gets a Contact object for a user or group, given the unique identifier of the principal. | |
FromPrincipalInfo(SPPrincipalInfo) | Gets a Contact object, given the information about the principal. | |
FromSharePointUserString(String, SPWeb) | Gets a Contact object, given a SharePoint user string. | |
GetHashCode | (Inherited from Object.) | |
GetPrincipal(SPWeb) | Gets the SPPrincipal object for the contact. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
PrincipalTypeIsSPUser(SPPrincipalType) | Checks whether a principal is a user or a security group in Microsoft Windows SharePoint Services. | |
ToContacts(String, SPWeb) | Parses contacts from a string of XML and creates an array of Contact objects from the hash table. | |
ToPersonXml(Contact) | ||
ToString() | Returns a string that represents the current object. (Overrides Object.ToString().) |
Top