var thisUserAccount = $().SPServices.SPGetCurrentUser({
fieldName: "Name",
debug: false
});
Need to have SPServices imported into the page. Example username return is below.
i:0#.w|DOMAIN\\USERNAME
i:0#.w|DOMAIN\\USERNAME
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.