---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/CommentAuthor
---

# CommentAuthor

## Overview

`CommentAuthor` is a class in Aspose.Slides FOSS for Java.
Inherits from: `ICommentAuthor`.

Represents an author of comments.

This class provides 9 methods for working with CommentAuthor objects in Java programs.
Available methods include: `CommentAuthor`, `getComments`, `getId`, `getInitials`, `getName`, `initInternal`, `remove`, `setInitials`, `setName`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `comments`, `id`, `initials`, `name`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `String` | Read | Gets the name. |
| `initials` | `String` | Read | Gets the initials. |
| `comments` | `ICommentCollection` | Read | Gets the comments. |
| `id` | `int` | Read | Returns the internal author id. |

## Methods

| Signature | Description |
|-----------|-------------|
| `CommentAuthor(name: String, initials: String, id: int)` | Creates a new comment author. |
| `initInternal(data: AuthorData, authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation)` | Initializes internal backing references that link this author to the
 underlying OPC package data. |
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getInitials()` → `String` | Returns the initials. |
| `setInitials(initials: String)` | Sets the initials value. |
| `getComments()` → `ICommentCollection` | Returns the comments. |
| `remove()` | Deletes this author from the presentation |
| `getId()` → `int` | Returns the internal author id. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)