-
- Notifications
You must be signed in to change notification settings - Fork 92
Get current user
alinach edited this page May 16, 2016 · 6 revisions
Returns the details about the user whose credentials are used to access the API.
Sync Example:
using System; using Redmine.Net.Api; using Redmine.Net.Api.Types; namespace RedmineTest { class Program { static void Main(string[] args) { string host = "<host>"; string apiKey = "<api-key>"; var manager = new RedmineManager(host, apiKey); User currentUser = manager.GetCurrentUser(); Console.WriteLine("Current user: {0}.", currentUser); } } }
Async Example:
... await manager.GetCurrentUserAsync(); ...
-
CRUD Operations
-
List Operations
-
Specific operations
- Attachments
- Issues
- Users
- Groups
- Wiki pages