共用方式為


SPRoleCollection.Item property

Include protected members
Include inherited members

NOTE: This API is now obsolete.

已過時。請改用新的SPRoleDefinitionSPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Item屬性從集合傳回指定的角色和維護回溯相容性。)

Overload list

  Name Description
Public property Item[Int32] Obsolete. 已過時。請改用新的SPRoleDefinitionSPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Item屬性集合中傳回指定索引處的角色物件和維護回溯相容性。)
Public property Item[String] Obsolete. 已過時。請改用新的SPRoleDefinitionSPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Item屬性從集合傳回具有指定名稱的角色物件和維護回溯相容性。)

Top

請參閱

參照

SPRoleCollection class

SPRoleCollection members

Microsoft.SharePoint namespace