SharedWorkspaceMember Object
Represents a user who has rights in a shared document workspace site.
Remarks
Use the SharedWorkspaceMember object to manage users who have rights to participate in a shared workspace and to collaborate on the shared documents saved in the workspace site.
The Role specified when the user is added as a member of the workspace (for example, "Reader" or "Contributor") determines that user's rights in the workspace and cannot be accessed or modified later through properties of the SharedWorkspaceMember object.
Use the Item() property of the SharedWorkspaceMemberscollection to return a specific SharedWorkspaceMemberobject.
Use the SharedWorkspaceMember object's three distinct name properties to retrieve identifying information about the member.
- the Name property returns the members display name;
- the Email property returns the member's e-mail address; and,
- the DomainName property returns the member's domain and user name in the format
.domain\user
Example
The following example displays the number of members in the active document's shared workspace, along with their names, domain user names, and e-mail addresses.
| Visual Basic for Applications |
|---|
|
See also:
| index |